03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|<br />

+-Color<br />

public class Color<br />

extends Object<br />

The Color class lets you set the RGB color value <strong>and</strong> color transform of movie clips <strong>and</strong><br />

retrieve those values once they have been set.<br />

You must use the constructor new Color() to create a Color object before calling its<br />

methods.<br />

Property summary<br />

Properties inherited from class Object<br />

constructor (Object.constructor property), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype property), __resolve<br />

(Object.__resolve property)<br />

Constructor summary<br />

Signature Description<br />

Color(target:Object<br />

)<br />

Method summary<br />

298 ActionScript classes<br />

Creates a Color object for the movie clip specified by the target_mc<br />

parameter.<br />

Modifiers Signature Description<br />

getRGB() : Number Returns the R+G+B combination currently in use<br />

by the color object.<br />

getTransform() :<br />

Object<br />

Returns the transform value set by the last<br />

Color.setTransform() call.<br />

setRGB(offset:Number Specifies an RGB color for a Color object.<br />

) : Void<br />

setTransform(transfo Sets color transform information for a Color object.<br />

rmObject:Object) :<br />

Void

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!