MovieClip.brightOffsetTo()

Availability

Flash Player 6.

Usage

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

Parameters

percent A number that represents the brightOffset of movieclip
0 : normal
100 : to white
-100 : to black

all other parameters do the same as in tween() method

Returns

Nothing.

Description

Following example changes tint of my_mc to brightOffset 100 in 2 seconds

my_mc.brightOffsetTo(100,2,"easeOutSine");