MovieClip.scaleTo()

Availability

Flash Player 6.

Usage

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

Parameters

size A number as _xscale and _yscale

all other parameters do the same as in 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);