Tweening, a.k.a. Linear Interpolation, a.k.a. Lerp, creates animation by moving a value between start and end.
Tweening is quite easy, but managing all the "tweens" in a scene is often a humdrum task.
TweenSprite is a simple tweening class for Actionscript 3. It allows you to animate multiple properties of a sprite, and choreograph the movements by changing time steps and loops.
Some pseudo-code to help you get started:
Create a new TweenSprite:
var sp = new TweenSprite()
Add some content or draw some graphics into it:
sp.graphics.drawRect(...)


Save
Bookmark and Share
Comment
write
Keywords
code
algorithm
motion
actionscript
flash
cartoon
Media
flash
Download
get actionscript