For most of the filters available in the FlashCS3 IDE (Bevel, Blur,
etc.) there seem to be equivalent AS2 filter classes; however, I don't
understand how the ColorMatrixFilter relates to the AdjustColor filter,
if at all.
How would I set the hue shift to 100?
How would I change the brightness, contrast and saturation?
It's quite complex. Basically the adjust color is a "designer" panel
that allows you to do some quick adjustments based on visual parameters,
while the ColorMatrixFilter is a complete color matrix that allows you
to do full color adjustment (including brightness, contrast, saturation,
hue, etc).
If you want to change brightness, contrast and saturation
programmatically and reach the final Color Matrix values, Mario
Klingemann's ColorMatrix classes help:
http://www.quasimondo.com/archives/000565.php
Some of the calculation (contrast, brightness, saturation) is pretty
easy. Some is pretty baffling (hue).
Zeh
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders