by Adobe

Adobe logo


18 July 2010

The color of a display object can be changed dynamically at runtime using the ColorTransform object and the built-in transform property. Applying color dynamically is useful for situations where you need to change the state of a graphic but don't want to use multiple images to do so.

This sample demonstrates a simple color picker using ColorTransform objects. Choose a color and drag a color swatch to the car or click the Apply button.