Feature highlight: Color object
 
Description
This sample demonstrates how you can use ActionScript and draggable movie clips to create an RGB color mixer.
 
Key features and ActionScript elements
Color object, Text Field object, draggable movie clips, bitwise shift, bitwise OR, imported PNG with alpha channel
 
Instructions
Select a color by clicking the color swatches, manipulating the sliders, or entering values in the text fields. Valid values for the RGB text fields are between 0 and 255. Valid values for the HEX text fields are hexadecimal values ranging from 0 to ff. To apply the color to the car, click Apply or drag a color swatch from the color preview box onto the car.
 

 
The source file for this movie (Color_picker.fla) can be found in the Flash MX/Samples folder.