EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 269

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
_accProps 269
To determine whether the player is running in an environment that supports accessibility aids, use
System.capabilities.hasAccessibility.
The following table lists the name and data type of each
_accProps property, its equivalent
setting in the Accessibility panel, and the kinds of objects to which the property can be applied.
The term inverse logic means that the property setting is the inverse of the corresponding setting
in the Accessibility panel. For example, setting the
silent property to true is equivalent to
deselecting the Make Movie Accessible or Make Object Accessible option.
To specify settings that correspond to the Tab index setting in the Accessibility panel, use the
Button.tabIndex, MovieClip.tabIndex, or TextField.tabIndex property.
There is no way to specify an Auto Label setting at runtime.
When used without the
instanceName parameter, changes made to _accProps properties apply
to the whole movie. For example, the following code sets the Accessibility
name property for the
whole movie to the string
"Pet Store", and then calls Accessibility.updateProperties()
to effect that change.
_accprops.name = "Pet Store";
Accessbility.updateProperties();
In contrast, the following code sets the name property for a movie clip with the instance name
price_mc to the string "Price":
price_mc._accProps.name = "Price";
Accessbility.updateProperties();
Property Data type Equivalent in Accessibility panel Applies to
silent
Boolean Make Movie Accessible/
Make Object Accessible
(inverse logic)
Whole movies
Movie clips
Buttons
Dynamic text
Input text
forceSimple
Boolean Make Child Objects Accessible
(inverse logic)
Whole movies
Movie clips
name
String Name Whole movies
Movie clips
Buttons
Input text
description
String Description Whole movies
Movie clips
Buttons
Dynamic text
Input text
shortcut
String Shortcut*
* For information on assigning a keyboard shortcut to an accessible object, see Key.addListener().
Movie clips
Buttons
Input text

Table of Contents

Related product manuals