Making Director Movies Accessible
553
Enabling keyboard navigation
With the Accessibility Behavior library, you can easily make sprites on the Stage navigable with
the keyboard. This lets mobility-impaired users select sprites and simulate mouse clicks without
using a mouse. For example, if you have four button sprites on the Stage, you can apply
accessibility behaviors that let them be selected by using the Tab key. As each sprite is selected, it
is highlighted with a colored rectangle, called a focus ring, around its bounding rectangle. After a
sprite is selected, the user can press Enter (Windows) or Return (Macintosh) to initiate the same
action that a mouse click would initiate on the sprite.
The accessibility behaviors work with each other. Most of them cannot be used alone and must be
used with other accessibility behaviors. To enable keyboard navigation, you must use the
Accessibility Target, Accessibility Item, Accessibility Text Edit Item, Accessibility Group Order,
and Accessibility Keyboard Controller behaviors together.
To apply the Accessibility Target behavior:
1
Create a shape sprite on the Stage using the Rectangle tool in the Tools panel. The accessibility
behaviors use this sprite to create a focus ring around other sprites you define as navigable with
the keyboard. The focus ring shows which sprite is the current selection during keyboard
navigation.
2
Move the shape sprite off the Stage into the area immediately next to the Stage. You can
expand the Stage window to display more of this area if necessary. The other accessibility
behaviors will move the sprite onto the Stage when keyboard navigation is used.
A shape sprite off the visible part of the Stage.
3
Open the Library palette by selecting Window > Library palette.
4
Select Accessibility from the Library List menu in the upper-left corner of the Library palette.
5
Drag the Accessibility Target behavior on to the shape sprite that is located next to the visible
part of the Stage.
Содержание 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...