Click to See Complete Forum and Search --> : speeding up the yoyo() tween


kredd
08-08-2007, 04:00 PM
hello all,
trying to make a symbal grow and shrink using the tween class. everything pretty much works only there's a pause b/n the growing and shrinking.

anybody know of a better way to do this? i'm just trying to make it pulse - right now it grows.pauses.shrinks.pauses.grows.etc



var qtx:MovieClip = _root.quote;
var grx:Tween = new Tween(qtx,"_xscale", Strong.easeOut, qtx._xscale, qtx._xscale+5, 0.5, true);
grx.onMotionFinished = function(){grx.yoyo();}



there is also another snippet for the _yscale as well.

thanks!