Bezier tweens are great for creating organic type motion. Robert Penner created an AS1 bezier tween function in this FlashCoders post .
Here is that code ported to an AS2 class. The BezierTween class extends Macromedia’s Tween class and can be used in a similar way. Download the BezierTween class. Instructions for use are included in the code comments.
Below is a demo that uses the BezierTween class (click here for a larger version).
[FLASH]http://www.airtightinteractive.com/projects/bezier_tween/bezier_anim.swf,400,200[/FLASH]

Latest Tweets