Skip to main content
DJ Gecko
Inspiring
May 7, 2009
Answered

best method for adjusting a movie clips brightness?

  • May 7, 2009
  • 1 reply
  • 909 views

Can someone share their method for adjusting the brightness of a Movie Clip?  With code of course : )

thanks!

This topic has been closed for replies.
Correct answer clbeech

under AS3 you can do this using the 'brightness' property of the Color class, as in:

import fl.motion.Color;

var color = new Color();
color.brightness = 0.5;

myMC.transform.colorTransform = color;

(ps. the range is from -1.0 to 1.0 negative being 'darken', positve being 'lighten')

1 reply

clbeech
clbeechCorrect answer
Inspiring
May 7, 2009

under AS3 you can do this using the 'brightness' property of the Color class, as in:

import fl.motion.Color;

var color = new Color();
color.brightness = 0.5;

myMC.transform.colorTransform = color;

(ps. the range is from -1.0 to 1.0 negative being 'darken', positve being 'lighten')

DJ Gecko
DJ GeckoAuthor
Inspiring
May 7, 2009

thanks!

clbeech
Inspiring
May 8, 2009

you're welcome