Description
Property; part of the color transformation for the instance. This property is equivalent to using
the Color > Advanced setting in the Instance Property inspector (the percentage controls on the
left of the dialog box). This value sets the green values by a specified percentage. Allowable values
are from -100 to 100.
Example
The following example sets the
fl.getDocumentDOM().selection[0].colorGreenPercent = 70;
symbolInstance.colorMode
Availability
Flash MX 2004.
Usage
symbolInstance.colorMode
Description
Property; a string that specifies the color mode as identified in the symbol Property inspector
Color pop-up menu. Acceptable values are
.
"advanced"
Example
The following example changes the
the first layer in the Timeline to
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].colorMode =
"alpha";
symbolInstance.colorRedAmount
Availability
Flash MX 2004.
Usage
symbolInstance.colorRedAmount
Description
Property; an integer that is part of the color transformation for the instance. This property is
equivalent to using the Color > Advanced setting in the Instance Property inspector. Allowable
values are from -255 to 255.
Example
The following example sets the
fl.getDocumentDOM().selection[0].colorRedAmount = 255;
colorGreenPercent
,
"none"
"brightness"
property of the first element in the first frame of
colorMode
:
"alpha"
of the selected symbol instance to 255:
colorRedAmount
of the selected symbol instance to 70:
,
"tint"
SymbolInstance object
,
, and
"alpha"
289
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?
Questions and answers