290
Chapter 3: Objects
symbolInstance.colorRedPercent
Availability
Flash MX 2004.
Usage
symbolInstance.colorRedPercent
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 red values to a specified percentage. Allowable values are
from -100 to 100.
Example
The following example sets the
colorRedPercent
of the selected symbol instance to 10:
fl.getDocumentDOM().selection[0].colorRedPercent = 10;
symbolInstance.description
Availability
Flash MX 2004.
Usage
symbolInstance.description
Description
Property; a string that is equivalent to the Description field in the Accessibility panel. The
description is read by the screen reader. This property is not available for graphic symbols.
Example
The following example stores the value for the Accessibility panel description of the object in the
theDescription
variable:
var theDescription = fl.getDocumentDOM().selection[0].description;
The following example sets the value for the Accessibility panel description to “Click the home
button to go to home”:
fl.getDocumentDOM().selection[0].description= "Click the home button to go to
home";
symbolInstance.firstFrame
Availability
Flash MX 2004.
Usage
symbolInstance.firstFrame
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...