![]() ![]() ![]() |
|
![]() | |
![]() | |
![]() |
Flash Player 6.
my_mc.contrastTo(percent, seconds, animtype, delay, callback, extra1, extra2)
percent
A number that represents the contrast value for
the movieclip
0 : no contrast
100 : normal
100 and more : high contrast
-100 : invert colors
all other parameters do the same as in tween() method
Nothing.
Change contrast of my_mc to 200 in 2 seconds with easeOutSine effect
my_mc.contrastTo(200,2,"easeOutSine"); Change contrast of my_mc to -100 (invert colors) in 1 second my_mc.contrastTo(-100,1,"easeOutSine");
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |