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.
User level: Intermediate
To view these samples, you need the following software and files:

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License