View Ladislav Zigo's profile on LinkedIn

 
laco.wz.cz
Web


MovieClip.colorTo()

Availability

Flash Player 6.

Usage

my_mc.colorTo(color, seconds, animtype, delay, callback, extra1, extra2)

Parameters

color A number that represents the RGB numeric value for the color (tint)

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

Returns

Nothing.

Description

Following example changes tint of my_mc to red (0xFF0000) in 2.5 seconds with easeOutSine effect

my_mc.colorTo(0xFF0000,2.5,"easeOutSine");



download | examples | installation | custom Easing Tool | links