19 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.
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.