EasyManua.ls Logo

MACROMEDIA FLASH 8-USING FLASH - Creating Accessibility with Actionscript

MACROMEDIA FLASH 8-USING FLASH
678 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...
530 Creating Accessible Content
Creating accessibility with ActionScript
In addition to the accessibility features included in the Flash user interface, you can create
accessible documents with ActionScript. For accessibility properties that apply to the entire
document, you can create or modify a global variable called
_accProps. See _accProps
property
in ActionScript 2.0 Language Reference.
For properties that apply to a specific object, you can use the syntax
instancename._accProps. The value of _accProps is an object that can include any of the
following properties:
Modifying the
_accProps variable has no effect by itself. You must also use the
Accessibility.updateProperties 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.
Property Type Equivalent selection in the
Accessibility panel
Applies to
.silent Boolean Make Movie Accessible/Make
Object Accessible (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 Name 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
NOTE
Inverse logic means that a value of true in ActionScript corresponds to a checkbox that
is not selected in the Accessibility panel, and a value of
false in ActionScript
corresponds to a selected check box in the Accessibility panel.

Table of Contents

Related product manuals