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

Property summary

Properties inherited from class Object

constructor (Object.constructor property), __proto__ (Object.__proto__ property), prototype (Object.prototype property), __resolve (Object.__resolve property)


Constructor summary

Signature

Description

Color(target:Object)

Class Deprecated.

Creates a Color object for the movie clip specified by the target_mc parameter.

Method summary

Modifiers

Signature

Description

getRGB() : Number

Class Deprecated.

Returns the R+G+B combination currently in use by the color object.

getTransform() : Object

Class Deprecated.

Returns the transform value set by the last Color.setTransform() call.

setRGB(offset:Number) : Void

Class Deprecated.

Specifies an RGB color for a Color object.

setTransform(transformObject:Object) : Void

Class Deprecated.

Sets color transform information for a Color object.

Methods inherited from class Object

addProperty (Object.addProperty method), hasOwnProperty (Object.hasOwnProperty method), isPropertyEnumerable (Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf method), registerClass (Object.registerClass method), toString (Object.toString method), unwatch (Object.unwatch method), valueOf (Object.valueOf method), watch (Object.watch method)