0 Replies Latest reply on May 30, 2006 12:30 PM by eslacker

    bitmapData and Colorizing images

      I have a grasp on the bitmapData API and how it's used, but I'm trying to figure out how to dynamically colorize an external image (loaded into a MC) at run-time.

      For instance, I have an image of a white flower with the background removed. I'd like to be able to have it fade from white (the original color) to a pre-defined Red, then Green, Blue, etc., and preferrably even let the user choose from a palette of colors (i.e. they may or may not be known at run-time).

      Any programmatic approaches to this? TIA for any advice.