Making Director Movies Accessible
555
3
You can specify a Lingo string to be executed when the user presses Enter (Windows) or
Return (Macintosh) while the sprite is selected. You can use any valid Lingo string, such as a
go
to frame 20
command or a call to a separate handler that you have written, such as
startAnimation
.
4
Click OK
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 will be 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-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...