Symbolinstance.accname – Adobe Extending Flash Professional CS5 User Manual
Page 438
416
EXTENDING FLASH PROFESSIONAL
SymbolInstance object
Last updated 5/2/2011
symbolInstance.accName
Availability
Flash MX 2004.
Usage
symbolInstance.accName
Description
Property; a string that is equivalent to the Name field in the Accessibility panel. Screen readers identify objects by
reading the name aloud. This property is not available for graphic symbols.
Example
The following example stores the value for the Accessibility panel name of the object in the
theName
variable:
var theName = fl.getDocumentDOM().selection[0].accName;
The following example sets the value for the Accessibility panel name of the object to
Home Button
:
An integer that is part of the color transformation for the instance, equivalent
to using the Color > Advanced setting in the instance Property inspector.
symbolInstance.colorRedPercent
Part of the color transformation for the instance; equivalent to using the Color
> Advanced setting in the instance Property inspector (the percentage
controls on the left of the dialog box).
A string that is equivalent to the Description field in the Accessibility panel.
An array of Filter objects (see
).
A zero-based integer that specifies the first frame to appear in the timeline of
the graphic.
A Boolean value that enables and disables the accessibility of the object’s
children; equivalent to the inverse logic of the Make Child Objects Accessible
setting in the Accessibility panel.
A string that, for graphic symbols, sets the same property as the Loop pop-up
menu in the Property inspector.
A string that is equivalent to the shortcut key associated with the symbol;
equivalent to the Shortcut field in the Accessibility panel.
A Boolean value that enables or disables the accessibility of the object;
equivalent to the inverse logic of the Make Object Accessible setting in the
Accessibility panel.
A string that specifies the type of symbol; equivalent to the value for Behavior
in the Create New Symbol and Convert To Symbol dialog boxes.
An integer that is equivalent to the Tab index field in the Accessibility panel.
symbolInstance.usesBackgroundColor
A boolean value that specifies the display format.
A boolean value specifying whether the instance is visible or not.
Property
Description