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.
www.TweenFilterLite.com
The code would look something like:
TweenFilterLite.to(my_mc, 0.5, {colorMatrixFilter:{contrast:2}});
Jack
-----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 colorTransform....in AS3 or AS2.
>
> thx
> L
>
you should apply some BitmapFilter
--
Pedro Taranto
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders