ActionScript 3 TweenMax and TweenLite Animation Techniques
TweenLite.to(targetSprite, 1.5, {x:100});
targetSprite is the animated object, 1.5 is duration in seconds, and {x:100} defines the final horizontal position after easing completes. This creates a linear movement from the sprite’s current x to 100 over 1.5 seconds.
TweenLite.from(targetSprite, 1.5, {x:100});
This reverses the direction: the sp ...
Posted on Wed, 19 Aug 2026 16:42:09 +0000 by fr600