
Using the Accessibility behavior library
433
Using captioning
For users who are hearing impaired, you can add text captioning to your movies. Captioning is
the practice of displaying text that corresponds to spoken narration or other sounds being played.
Using the captioning behaviors in addition to the text-to-speech behaviors lets you make your
movies accessible to users with all types of disabilities.
There are two captioning behaviors that are designed to be used together. Each is designed to be
used with the keyboard navigation and text-to-speech behaviors. For information about applying
text-to-speech behaviors, see
“Enabling text-to-speech” on page 431
.
To enable captioning, you attach the Accessibility Captioning behavior to an empty text sprite
that displays the captions. Next, you attach the Accessibility Sync Caption behavior to a sprite
that has already had speech enabled with the text-to-speech behaviors.
To apply the Accessibility Captioning behavior:
1
Place the text sprite that you want to display caption text on the Stage.
2
Drag the Accessibility Captioning behavior from the Library palette to the text sprite.
3
In the dialog box that appears, select the behavior group name for the scene. This step associates
the accessibility behaviors in the scene with one another so they work properly.
4
Click OK.
Next, you attach the Accessibility Sync Caption behavior to a sprite that has already had
speech enabled.
To apply the Accessibility Sync Caption behavior:
1
Apply the keyboard navigation behaviors to sprites in your scene. For more information, see
“Enabling keyboard navigation” on page 429
.
2
Apply the text-to-speech behaviors to sprites in your scene. For more information, see
“Enabling
text-to-speech” on page 431
.
3
Drag the Accessibility Sync Caption behavior from the Library palette to the sprite that triggers
the text-to-speech feature. This could be a text sprite that has the Accessibility Speak behavior
attached or another sprite that triggers speech with the Accessibility Speak Member Text
behavior attached.
4
In the dialog box that appears, select the behavior group name for the scene. This associates the
accessibility behaviors in the scene with one another so they work properly.
5
In the first At Word text box, enter the number of the word in the text that is to be spoken where
you want the captioning to begin. For example, if you want to begin captioning at the first word
of the spoken text, enter the number
1
.
6
In the Initial Words text box, enter the number of words to display after the starting word
number that you selected in the previous step. This is the number of words that can appear in
the captioning sprite when the captioning begins. For example if you want the first section of
text to begin at the first word and end at word 15, enter
1
in the previous step and
15
in the
Initial Words text box. These words are replaced in the captioning display sprite by later sections
of the text being spoken. You select the number of words in each section by using the remaining
text boxes in the dialog box.
7
In the next At Word text box, enter the number of the word where the second section of text
you want to display begins. For example, if you want the second section of displayed text to
begin at word 16 of the spoken text, enter
16
in the At Word text box.
Summary of Contents for DIRECTOR MX 2004-USING DIRECTOR
Page 1: ...DIRECTOR MX 2004 Using Director...
Page 16: ...16 Chapter 1 Introduction...
Page 82: ...82 Chapter 3 Sprites...
Page 98: ...98 Chapter 4 Animation...
Page 134: ...134 Chapter 5 Bitmaps...
Page 242: ...242 Chapter 10 Sound and Synchronization...
Page 274: ...274 Chapter 11 Using Digital Video...
Page 290: ...290 Chapter 12 Behaviors...
Page 302: ...302 Chapter 13 Navigation and User Interaction...
Page 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Page 392: ...392 Chapter 16 Working with Models and Model Resources...
Page 418: ...418 Chapter 18 Movies in a Window...
Page 446: ...446 Chapter 22 Managing and Testing Director Projects...