import fl.transitions.Tween;
import fl.transitions.easing.*; var myTween1:Tween; var myTween2:Tween; var myTween3:Tween; myTween1 = new Tween(rect, "x", Strong.easeOut, rect.x, rect.x + 350 , 40, false); myTween2 = new Tween(rect2, "height", Strong.easeIn, rect2.height, rect2.height + 75 , 15, false); myTween3 = new Tween(rect2, "alpha", Strong.easeIn, 0, 1, 15, false); |