
Using the Accessibility behavior library
431
5
Repeat this process for each sprite in the scene that you want to be navigable.
Note:
The Accessibility Item and Accessibility Text Edit Item behaviors cannot be applied to sprites
that have the Accessibility Target or Accessibility Keyboard Controller behaviors attached. If you are
testing your movie while applying Accessibility Item or Accessibility Text Edit Item behaviors, you
might need to rewind your movie to restore the shape sprite with the Accessibility Target behavior to
its original location.
After all the sprites have had an Accessibility Item or Accessibility Text Edit Item behavior
attached to them, you can add the Accessibility Group Order behavior to them. This behavior lets
you specify the order in which each sprite is selected on the Stage when the user presses the Tab
key. Apply this behavior to each sprite you want to be navigable with the Tab key.
To apply the Accessibility Group Order behavior:
1
Drag the Accessibility Group Order behavior from the Library palette to one of the sprites that
already has an Accessibility Item or Accessibility Text Edit Item behavior attached.
2
In the dialog box that appears, select the group name that is used by the other accessibility
behaviors in the scene, such as Accessibility_Scene_1.
3
Enter the tab order for the sprite. This is the order in which the sprites are selected when the
user presses the Tab key. Be sure to number each sprite consecutively and to use each number
only once. When the movie begins playing, the focus ring automatically goes to the sprite whose
group order is 1.
4
Click OK.
5
Repeat this process for each sprite in the scene that is navigable with the Tab key.
All the sprites can now be navigated to and activated with the keyboard. You can repeat this
process for each scene in your movie.
Enabling text-to-speech
To help visually impaired users experience your Director movies, you can add the ability for your
text cast members to be spoken aloud by the computer. You can also specify text to be spoken
when sprites are selected. Because the text-to-speech feature in Director assumes that users are
visually impaired, the feature is designed to be used with the keyboard navigation feature. Each
text-to-speech behavior requires that the Accessibility Target, Accessibility Item or Accessibility
Text Edit Item, Accessibility Group Order, and Accessibility Keyboard Controller also be applied
to the appropriate sprites.
The following list describes the three text-to-speech behaviors:
•
The Accessibility Speak behavior lets you specify a text string to be spoken when the user
navigates to a sprite with the Tab key.
•
The Accessibility Speak Member Text behavior lets you specify a text cast member to be
spoken when a user navigates to a sprite with the Tab key.
•
The Accessibility Speak Enable/Disable behavior lets you specify a user event that can turn the
text-to-speech feature on or off.
Содержание DIRECTOR MX 2004-USING DIRECTOR
Страница 1: ...DIRECTOR MX 2004 Using Director...
Страница 16: ...16 Chapter 1 Introduction...
Страница 82: ...82 Chapter 3 Sprites...
Страница 98: ...98 Chapter 4 Animation...
Страница 134: ...134 Chapter 5 Bitmaps...
Страница 242: ...242 Chapter 10 Sound and Synchronization...
Страница 274: ...274 Chapter 11 Using Digital Video...
Страница 290: ...290 Chapter 12 Behaviors...
Страница 302: ...302 Chapter 13 Navigation and User Interaction...
Страница 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Страница 392: ...392 Chapter 16 Working with Models and Model Resources...
Страница 418: ...418 Chapter 18 Movies in a Window...
Страница 446: ...446 Chapter 22 Managing and Testing Director Projects...