View Ladislav Zigo's profile on LinkedIn

 
laco.wz.cz
Web



MovieClip.brightnessTo()

Availability

Flash Player 6.

Usage

my_mc.brightnessTo(brightness, seconds, animtype, delay, callback, extra1, extra2)

Parameters

brightness A number between -100 (black) and 100 (white) that represents brightness of movieclip

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

Returns

Nothing.

Description

Following example changes brightness of my_mc to 80 in 3 seconds with quadratic easing

my_mc.brightnessTo(80,3,"easeOutQuad");


download | examples | installation | custom Easing Tool | links