From: steeve on
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
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
These are the errors I got:

1172: Definition mx.transitions.easing:Strong could not be found.
From: dzedward on
attach the code exactly how you have it..
From: steeve on
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);