Monday, September 10, 2007
Monday, September 10, 2007    

I have been hunting down and trying out various AS3 tween engines (because no one should ever be tweening on their own anymore or using the timeline unless you are an animator) and I believe that TweenLite is by far the best I've found. Wanna add filter tweening? Grab this. Lots of fun, very compact, easy to use, efficient. Love it.


import gs.TweenLite;
import gs.TweenFilterLite;
import fl.motion.easing.Elastic;'

TweenLite.to( who, 2, {x:316, y:55, alpha:0.4, mcColor:0xff0000} );
TweenLite.to( who, 1, {x:stage.stageWidth/2, y:stage.stageHeight/2, ease:Elastic.easeOut, delay:2, overwrite:false} );
TweenFilterLite.to( who, 1, {type:"Blur", blurX:10, blurY:10, quality:2, overwrite:false, delay:3} )


0 Comments:

Post comment

Links to this post:


Create a Link

gotoAndStop( topOfPage );