Accessibility

Flash sample application

Drawing sample: Color transformations

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.

AlertThis content requires Flash

Download the free Flash Player now!

Get Adobe Flash Player

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

Requirements

To view these samples, you need the following software and files:

Flash CS3 Professional

Sample files:

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