
320
ActionScript classes
Property summary
Properties inherited from class Object
Constructor summary
Method summary
Methods inherited from class Object
Color constructor
public Color(target:
Object
)
Creates a Color object for the movie clip specified by the
target_mc
parameter. You can then
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
constructor (Object.constructor property)
,
__proto__ (Object.__proto__
property)
,
prototype (Object.prototype property)
,
__resolve
(Object.__resolve property)
Signature
Description
Color
(target:
Object
)
Creates a Color object for the movie clip specified by the
target_mc
parameter.
Modifiers
Signature
Description
getRGB
() :
Number
Returns the R+G+B combination
currently in use by the color object.
getTransform
() :
Object
Returns the transform value set by
the last
Color.setTransform()
call.
setRGB
(offset:
Number
) :
Void
Specifies an RGB color for a Color
object.
setTransform
(transformObject:
Object
) :
Void
Sets color transform information for
a Color 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)
Summary of Contents for Flash Lite 2
Page 1: ...Flash Lite 2 x ActionScript Language Reference...
Page 22: ...22 Contents...
Page 244: ...244 ActionScript language elements...
Page 760: ...760 ActionScript classes...