Is there any way to do color swaps in AS3? What I'm looking to do is: Take a given DisplayObject (MovieClip or Sprite to be specific), look for particular colors (specific RGB values) and replace those colors with other specific RGB values, all without touching any other colors.
Sort of like something you would do with an indexed color image. Currently I'm doing this in a far more tedious way (making each colored area I want to swap into a named movie clip and iterating through all the children then tossing a color transform on the clips). I thought maybe I could work soemthing out with a ColorMatrixFilter, but it doesn't seem like it will work. Maybe dealing with the whole image as bit map data? Although would that be a performance concern? Thanks in advance for any advice! _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

