MovieClip.alphaTo() , TextField.alphaTo()

Availability

Flash Player 6.

Usage

my_mc.alphaTo(alpha, seconds, animtype, delay, callback, extra1, extra2)

Parameters

alpha end value of movieclip _alpha property.

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

Other parameters follow the tween() method.

Returns

None

Description

shortcut method; tweens _alpha. Following commands are identical:

my_mc.alphaTo(20,1);
my_mc.tween("_alpha",20,1);