MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual page 430

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

In the dialog box that appears, enter a name for the behavior group.
6
Because the accessibility behaviors work together and are dependent on one another, a group
name associates all the accessibility behaviors used in a given scene of your movie with one
another. When you apply behaviors to a different scene of your movie, you might want to
use a different group name. For example, you might use Accessibility_Scene_1. In addition,
there should only be one instance of the Accessibility Target behavior in any given scene
of your movie.
Select an initial state for text-to-speech, either enabled or disabled. If you select disabled, you
7
must use the Accessibility Speak Enable/Disable behavior to let users turn on text-to-speech
later. For more information, see
Click OK.
8
The next step in the process is to attach the Accessibility Keyboard Controller behavior to a sprite.
This behavior intercepts keystrokes from the keyboard and enables those keyboard events to be
used for navigation of the sprites on the Stage. You attach the Accessibility Keyboard Controller
behavior to an editable text sprite that you place outside the visible part of the Stage.
To apply the Accessibility Keyboard Controller behavior to an off-Stage editable text sprite:
Place an editable text sprite on the Stage. Do not use a field sprite.
1
Move the text sprite off the Stage into the area immediately below the Stage. You can expand
2
the Stage window to display more of this area if necessary.
Drag the Accessibility Keyboard Controller behavior from the Library palette to the sprite.
3
In the dialog box that appears, select the accessibility group name for the scene, such as
4
Accessibility_Scene_1.
Click OK.
5
Select the editable text sprite if it is not still selected.
6
Using the arrow keys, move the sprite off the edge of the Stage until it is no longer on the visible
7
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 apply 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.
To apply the Accessibility Item or Accessibility Text Edit Item behaviors:
Drag the Accessibility Item or Accessibility Text Edit Item behavior from the Library palette to
1
the designated sprite.
In the dialog box that appears, select the same group name that you used when applying the
2
Accessibility Target behavior—for example, Accessibility_Scene_1.
You can specify a script string to be executed when the user presses Enter (Windows) or Return
3
(Macintosh) while the sprite is selected. You can use any valid script string, such as a
method or a call to a separate handler that you have written, such as
frame 20
startAnimation
Click OK.
4
430
Chapter 20: Making Director Movies Accessible
"Enabling text-to-speech" on page
.
431.
go to

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents