ADOBE DIRECTOR 11.0
User Guide
424
4
In the dialog box that appears, select the accessibility group name for the scene, such as Accessibility_Scene_1.
5
Click OK.
6
Select the editable text sprite if it is not selected.
7
Using the arrow keys, move the sprite until it is no longer on the visible part of the Stage.
Note:
If the editable text sprite receives a Return character, its bounding rectangle can expand vertically. To prevent this
from happening and unexpectedly causing the sprite to become visible on the Stage, set the sprite’s Framing property to
Fixed in the Property inspector’s Sprite tab.
Now that the Accessibility Target behavior is attached to the shape sprite and the Accessibility Keyboard Controller
behavior is attached to a text sprite, you are ready to attach the Accessibility Item or Accessibility Text Edit Item
behaviors.
Attach the Accessibility Item or Accessibility Text Edit Item behaviors
To enable navigation to a sprite with the Tab key, attach the Accessibility Item behavior to the sprite. To enable
navigation to an editable text sprite with the Tab key, attach the Accessibility Text Edit Item behavior to the sprite.
1
Drag the Accessibility Item or Accessibility Text Edit Item behavior from the Library palette to the designated
sprite.
2
In the dialog box that appears, select the same group name that you used when attaching the Accessibility Target
behavior—for example, Accessibility_Scene_1.
3
You can specify a script string to be executed when the user presses Enter (Windows) or Return (Mac) while the
sprite is selected. You can use any valid script string, such as a
go to frame 20
method 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 Acces-
sibility Target or Accessibility Keyboard Controller behaviors attached. If you are testing your movie while attaching
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 each sprite you want to be navigable with the Tab key.
Attach the Accessibility Group Order behavior
This behavior lets you specify the
tab order
—the order in which each sprite is selected on the Stage when the user
presses the Tab key.
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. 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 with group order 1.
4
Click OK.
5
Repeat this process for each sprite in the scene that is navigable with the Tab key.