Flash 8 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Color | |||
Object
|
+-Color
public class Color
extends Object
Deprecated since Flash Player 8. The Color class has been deprecated in favor of the flash.geom.ColorTransform class.
The Color class lets you set the RGB color value and color transform of movie clips and retrieve those values once they have been set.
You must use the constructor new Color() to create a Color object before calling its methods.
Availability: ActionScript 1.0; Flash Player 5
Properties inherited from class Object
|
Signature |
Description |
|---|---|
|
Color |
Class Deprecated. Creates a Color object for the movie clip specified by the target_mc parameter. |
|
Modifiers |
Signature |
Description |
|---|---|---|
|
|
getRGB |
Class Deprecated. Returns the R+G+B combination currently in use by the color object. |
|
|
getTransform |
Class Deprecated. Returns the transform value set by the last |
|
|
setRGB |
Class Deprecated. Specifies an RGB color for a Color object. |
|
|
setTransform |
Class Deprecated. Sets color transform information for a Color object. |
Methods inherited from class Object addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toString, unwatch, valueOf, watch
Version 8
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00002073.html