From: steeve on 30 Jul 2007 21:57 ok-- I have a Movie clip symbol on the stage -- I gave it an instance name of "news_mc". So in my timeline I have one layer and the symbol in keyframed in frame 1. Where do I put the code? It will not allow me to put the code on that keyframe. thanks for your help
From: dzedward on 31 Jul 2007 09:57 put that code on frame 1, and it will happen instantly. or put it in an on event handler.. i.e., onRelease, onRollOver, etc..
From: steeve on 31 Jul 2007 12:34 These are the errors I got: 1172: Definition mx.transitions.easing:Strong could not be found.
From: dzedward on 31 Jul 2007 12:40 attach the code exactly how you have it..
From: steeve on 31 Jul 2007 12:44
I did! here it is: import mx.transitions.easing.Strong; import mx.transitions.Tween; var tw:Tween = new Tween(news_mc, "_width", Strong.easeOut, news_mc._width, news_mc._width*2, 1, true); var tw2:Tween = new Tween(news_mc, "_height", Strong.easeOut, news_mc._height, news_mc._height*2, 1, true); |