From: steeve on 2 Aug 2007 09:16 I've been reading and playing quite a bit with the Tween Class parameters. I'm not quite getting the effect I'm looking for: Ideally, the text would grow slightly, say 25% over a 5-second period and then quickly zoom off. Any insight? Thanks! Steven
From: dzedward on 2 Aug 2007 09:55 : var tw:Tween = new Tween(news_mc, "_xscale", Strong.easeOut, news_mc._xscale, 125, 5, true); var tw2:Tween = new Tween(news_mc, "_yscale", Strong.easeOut, news_mc._yscale, 125, 5, true); tw2.onMotionFinished = function(){ var tw3:Tween = new Tween(news_mc, "_xscale", Strong.easeOut, 125, 0, 1, true); var tw4:Tween = new Tween(news_mc, "_yscale", Strong.easeOut, 125, 0, 1, true); }
From: steeve on 2 Aug 2007 12:08 Is this for AS3? I'm still having problems with rendering AS3, and I get errors when I try the new code under AS2
From: dzedward on 2 Aug 2007 12:10 this is AS2, and I figured you wouldn't get rid of import mx.transitions.easing.Strong; import mx.transitions.Tween; because you still need that
From: steeve on 2 Aug 2007 12:19
It works -- I really should have caught that! It slowly zooms, then quickly zooms back to zero, then zooms out again. How can I skip the retraction? I'll start playing with the numbers. I'm trying to achieve and slow zoom (about 5 sec. so the user can read the headline), then from that mark (say 125%) and fast zoom out and fade |