From: dzedward on 6 Aug 2007 10:39 That is very screwy... It shouldnt work at all with easeeaseNone.. I know I didn't write it like that. Also, I left out the zoom in part, my bad. This works. import mx.transitions.easing.easeNone; import mx.transitions.Tween; var tw:Tween = new Tween(news_mc, "_xscale", Strong.easeNone, news_mc._xscale, 125, 2, true); var tw2:Tween = new Tween(news_mc, "_yscale", Strong.easeNone, news_mc._yscale, 125, 2, true); tw2.onMotionFinished = function() { wait = setInterval(waiting, 2000); function waiting() { var tw3:Tween = new Tween(news_mc, "_xscale", Strong.easeNone, 125, 0, 1, true); var tw4:Tween = new Tween(news_mc, "_yscale", Strong.easeNone, 125, 0, 1, true); var tw5:Tween = new Tween(news_mc, "_alpha", Strong.easeNone, 100, 0, 1, true); clearInterval(wait); tw5.onMotionFinished = function() { var tw9:Tween = new Tween(news2_mc, "_xscale", Strong.easeNone, news2_mc._xscale, 125, 2, true); var tw10:Tween = new Tween(news2_mc, "_yscale", Strong.easeNone, news2_mc._yscale, 125, 2, true); tw10.onMotionFinished = function() { wait2 = setInterval(waiting2, 2000); function waiting2() { var tw6:Tween = new Tween(news2_mc, "_xscale", Strong.easeNone, 125, 0, 1, true); var tw7:Tween = new Tween(news2_mc, "_yscale", Strong.easeNone, 125, 0, 1, true); var tw8:Tween = new Tween(news2_mc, "_alpha", Strong.easeNone, 100, 0, 1, true); clearInterval(wait2); } tw8.onMotionFinished = function() { //insert new Tween here for another MC }; }; }; } }; |