Color Constructor - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Property summary
Properties inherited from class Object
constructor (Object.constructor
property),
prototype (Object.prototype
(Object.__resolve property)
Constructor summary
Signature
Color(target:Object)
Method summary
Modifiers
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

Color constructor

public Color(target:Object)
Creates a Color object for the movie clip specified by the
use the methods of that Color object to change the color of the entire target movie clip.
Availability: ActionScript 1.0; Flash Lite 2.0
320
ActionScript classes
property),
Description
Creates a Color object for the movie clip specified by the target_mc
parameter.
Signature
getRGB() :
Number
getTransform() :
setRGB(offset:Number) :
setTransform(transformObject:
Object) :
Void
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
__proto__ (Object.__proto__
property),
__resolve
Description
Returns the R+G+B combination
currently in use by the color object.
Returns the transform value set by
Object
the last Color.setTransform()
call.
Specifies an RGB color for a Color
Void
object.
Sets color transform information for
a Color object.
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
method),
target_mc
toString
valueOf
parameter. You can then

Advertisement

Table of Contents
loading

Table of Contents