ActionScript is a programming language in Flash that allows the programmer to control the movie play back and the action of objects.
Since Flash MX and Flash MX 2004, instances of color objects are created from the Color class constructor and apply only to movieclips. For any movieclip on stage, you can create an instance of the Color class, specifying your movieclip as the parameter in the constructor, and then use the setRBG method (or setTransform if you need to specify transparency) to specify the color. The code to create a color instance and assign a color to it:
// create an instance of the Color class named cCircle // associated with movieclip circle_mc cCircle = new Color(circle_mc); // change the color of circle_mc by using setRGB with the Color instance cCircle.setRGB(0x3399ff);
When specifying an explicit RGB color, the value has the following hexadecimal form:
The low-order byte contains a value for the relative intensity of red; the second byte contains a value for green; and the third byte contains a value for blue. The high-order byte must be zero. The maximum value for a single byte is 0xFF.
ACA Color Picker supports for capturing the color value of any screen pixel and displays its value in ActionScript Color Code. To apply this feature, please do following steps:
Free Trial ACA Color Picker Now | Buy ACA Color Picker Now