ColourFilter for DisplayObjects
Changing the Hue, Contrast, Saturation and Brightness on a DisplayObjects at runtime is no easy task, well in the case of this: mySprite.saturation = -1 being easy. Lets jump right in, have a look at this: This will make your sprite grayscale, now isn’t that a step forward. The ColourFilter can adjust: alpha – This [...]
Posted 2 August 2010 by Matan UbersteinTagged As: AS3, MinimalComps, Robotlegs, Signals, Snippet | Categories: AS3, Snippet | 6 Comments







