FLASH CS3
User Guide
363
Note:
With inverse logic, a value of
true
in ActionScript corresponds to a check box that is not selected in the Accessi-
bility panel, and a value of
false
in ActionScript corresponds to a selected check box in the Accessibility panel.
Modifying the
_accProps
variable has no effect by itself. You must also use the
Accessibility.updateProp-
erties
method to inform screen reader users of Flash content changes. Calling the method causes Flash Player to
re-examine all accessibility properties, update property descriptions for the screen reader, and, if necessary, send
events to the screen reader that indicate changes have occurred.
When updating accessibility properties of multiple objects at once, include only a single call to
Accessi-
blity.updateProperties
(too frequent updates to the screen reader can cause some screen readers to become too
verbose).
See the Accessibility.updateProperties method in the
ActionScript 2.0 Language Reference.
Implementing screen reader detection with the Accessibility.isActive() method
To create Flash content that behaves in a specific way if a screen reader is active, use the
Accessi-
bility.isActive()
ActionScript method, which returns a value of
true
if a screen reader is present, and
false
otherwise. You can then design your Flash content to perform so that it’s compatible with screen reader use (for
example, by hiding child elements from the screen reader). For more information, see isActive (Accessibility.isActive
method) in
ActionScript 2.0 Language Reference.
Property
Type
Equivalent selection in
the Accessibility panel
Applies to
.
silent
Boolean
Make Movie Acces-
sible/Make Object Acces-
sible (inverse logic)
Entire documents
Buttons
Movie clips
Dynamic text
Input text
.forceSimple
Boolean
Make Child Objects
Accessible (inverse logic)
Entire documents
Movie clips
.name
string
N
ame
Entire documents
Buttons
Movie clips
Input text
.description
string
Description
Entire documents
Buttons
Movie clips
Dynamic text
Input text
.shortcut
string
Shortcut
Buttons
Movie clips
Input text