Adobe 38039336 - Flash CS3 Professional User Manual page 371

User guide
Hide thumbs Also See for 38039336 - Flash CS3 Professional:
Table of Contents

Advertisement

For example, you could use the
animation. Unsolicited animation happens without the screen reader doing anything, which can be confusing for
screen readers.
The
Accessibility.isActive()
Flash Player; a slight real-time delay can occur between the time the method is called and the time when Flash Player
becomes active, returning an incorrect value of
following:
• Instead of using the
Accessibility.isActive()
whenever you need to make a decision about accessibility.
• Introduce a short delay of one or two seconds at the beginning of your document to give the Flash content enough
time to contact Flash Player.
For example, you can use an
file enough time to load and you can assume a screen reader user will tab to the first button or object on the Stage.
Use ActionScript to create a tab order for accessible objects
To create the tab order with ActionScript code, assign the
• Dynamic text
• Input text
• Buttons
• Movie clips, including compiled movie clips
• Timeline frames
• Screens
Provide a complete tab order for all accessible objects. If you create a tab order for a frame and you don't specify a
tab order for an accessible object in the frame, Flash Player ignores all the custom tab-order assignments.
Additionally, all objects assigned to a tab order, except frames, must have an instance name specified in the Instance
Name text field of the Property inspector. Even items that are not tab stops, such as text, need to be included in the
tab order if they are to be read in that order.
Because static text cannot be assigned an instance name, it cannot be included in the list of the
values. As a result, a single instance of static text anywhere in the SWF file causes the reading order to revert to the
default.
To specify a tab order, assign an order number to the
_this.myOption1.btn.tabIndex = 1
_this.myOption2.txt.tabIndex = 2
See
in
,
tabIndex
Button
You can also use the
tabChildren()
MovieClip.tabChildren
Language Reference.
See also
"Create a tab-order index for keyboard navigation in the Accessibility panel" on page 360
Accessibility.isActive()
method provides asynchronous communication between the Flash content and
false
event to attach this method to a button. This approach generally gives the SWF
onFocus
, and
MovieClip
TextField
or
tabEnabled()
,
MovieClip.tabEnabled
method to decide whether to include unsolicited
. To ensure that the method is called correctly, do one of the
method when the Flash content first plays, call the method
property to the following objects:
tabIndex
property, as the following example shows:
tabIndex
in the ActionScript 2.0 Language Reference.
methods to assign custom tab order. See
, and
TextField.tabEnabled
FLASH CS3
User Guide
property
tabIndex
in the ActionScript 2.0
365

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash cs3 professional

Table of Contents