FLASH >> dynamic photo sizing
FLASH >> dynamic photo sizing
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- finnpimp0
oh, and if you do the enterFrame on the bg, you could also have it constantly run an x and y variable. when it loads a new image, it takes the new width and height (not yet revealing the image) and then do some serious math. I don't have the script here, but if you just divide the difference between the old width and the new width by 2, you should get a value that approaches (smoothly) the new width, thereby creating a nice animation.
about. I could elaborate it a bit more, but get the idea? have the bg change it's size constantly according to that "smooth-factor" :)