|
.scaleTo() Applies To MovieClip, TextField Availability Flash 6 and above, using AS1 or AS2. Usage <MovieClip|TextField>.scaleTo(scale [, seconds, animation type, delay, callback, extra1, extra2]); Parameters scale : Desired scale value for the object in percent (100 being the standard size). Returns Nothing. Description Shortcut method; does a transition on both the_xscale and _yscale properties of a MovieClip or TextField at the same time, resizing it based on its original control point. Examples // Scales a MovieClip to 200%, in one second, using an elastic easing animation <MovieClip>.scaleTo(200, 1, "easeoutelastic"); See Also |