MovieClip.scaleTo() , TextField.scaleTo()

Availability

Flash Player 6.

Usage

my_mc.scaleTo(percent, seconds, animtype, delay, callback, extra1, extra2)

Parameters

percent A number representing both _xscale and _yscale

Optionally you may now pass a string for relative value (like "-20" to end tween at 20 less than existing scale).

Other parameters follow the tween() method.

Returns

Nothing.

Description

Shortcut method, following commands are identical (scaling my_mc to 50 % in 0.5 seconds):

my_mc.scaleto(50,0.5);
my_mc.tween(["_xscale","_yscale"],[50,50],0.5);