Symbolinstance.colorgreenamount, Symbolinstance.colorgreenpercent, Symbolinstance.colormode – Adobe Extending Flash Professional CS4 User Manual
Page 445
423
EXTENDING FLASH CS4 PROFESSIONAL
SymbolInstance object
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 (the percentage controls on the left of the dialog box).
This value sets the blue values to a specified percentage. Allowable values are from -100 to 100.
Example
The following example sets the
colorBluePercent
of the selected symbol instance to 80:
fl.getDocumentDOM().selection[0].colorBluePercent = 80;
symbolInstance.colorGreenAmount
Availability
Flash MX 2004.
Usage
symbolInstance.colorGreenAmount
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.
symbolInstance.colorGreenPercent
Availability
Flash MX 2004.
Usage
symbolInstance.colorGreenPercent
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
colorGreenPercent
of the selected symbol instance to 70:
fl.getDocumentDOM().selection[0].colorGreenPercent = 70;
symbolInstance.colorMode
Availability
Flash MX 2004.