![]() ![]() ![]() |
|
![]() |
|
![]() |
|
![]() |
Flash Player 6.
my_mc.colorTo(color, seconds, animtype, delay, callback, extra1, extra2)
color
A number that represents the RGB numeric value
for the color (tint).
If null or undefined, it resets color mode to normal without any color transformation
Other parameters follow the tween() method.
Nothing.
Following example changes tint of my_mc to red (0xFF0000) in 2.5 seconds with easeOutSine effect
my_mc.colorTo(0xFF0000,2.5,"easeOutSine");
![]() |
|
![]() |
|
![]() |
|
![]() ![]() ![]() |