Put the "tween.as" library in the same folder as your Flash source file, include it, and have fun with the easing function. The functions can be easily modified and added to the MovieClip class' prototype. How to do this is also demonstrated, but with a separate function DrawRectangle(). Note: Do not tinker with the target movie clip's onEnterFrame function while an animation is still being executed. Good luck!
|» Level Intermediate|
Rating: 3.25 Votes: 8
|Flash developer at Melon Technoliges since 2002.|
|Download the files used in this tutorial.|
|Download (0 kb)|
|More help? Search our boards for quick answers!|