|
.resizeTo() Applies To MovieClip, TextField Availability Flash 6 and above, using AS1 or AS2. Usage <MovieClip|TextField>.resizeTo(width, height [, seconds, animation type, delay, callback, extra1, extra2]); Parameters width : Desired width (in pixels) value for the object. Returns Nothing. Description Shortcut method; resizes a MovieClip or a TextField to a given size, based on its original control point. You can also bypass any of the parameters if you don't want to tween that specific parameter just use undefined as the value instead. Examples // Scales a MovieClip to 100 pixels wide and 1 pixel hight in 3 seconds using linear easing <MovieClip>.resizeTo(100, 1, 3, "linear"); See Also |