Yep, a BitmapFilter is what you need. 

You might want to check out TweenFilterLite for an easy way to apply (and/or
tween) the filter. It'll also let you adjust saturation, brightness,
colorization, hue, and threshold.

The code would look something like:, 0.5, {colorMatrixFilter:{contrast:2}});


-----Original Message-----
From: Pedro Taranto [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2008 12:17 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Flash8 Question - contrast transform

laurent wrote:
> Hm...I should play with colors again.
> How do we change the contrast or brightness of a color ? using HSV ?? 
> or is there a straight way using AS3 or AS2.
> thx
> L
you should apply some BitmapFilter

Pedro Taranto

Flashcoders mailing list

Reply via email to