Using the Speech Xtra
The Speech Xtra adds special methods to scripting that enable the Director text-to-speech
capability. The text-to-speech behaviors require this Xtra extension because they use these script
methods. If you write custom text-to-speech scripts, you must include the Speech Xtra in your
movie's Xtra extensions list. Keyboard navigation does not require the Speech Xtra.
The Speech Xtra supports Microsoft SAPI 4 and 5 on Windows. The Speech Xtra supports all
versions of text-to-speech on the Macintosh.
Because the Speech Xtra has no specific cast member type associated with it, it is not added
automatically to a movie's Xtra extensions list when a certain type of cast member is added to the
movie. Therefore, when you use text-to-speech script or behaviors in a projector, you must
remember to add the Speech Xtra to the Xtra extensions list manually. The Speech Xtra is
available automatically in the Director application and in Macromedia Shockwave.
To add the Speech Xtra to a movie's Xtra extensions list:
Select Modify > Movie > Xtras.
1
Click Add.
2
In the alphabetical list of Xtra extensions, scroll to Speech, and select the Speech Xtra. (In
3
Windows, the file name is Speech.x32.)
Click OK to close the Add Xtras dialog box.
4
Click OK to close the Movie Xtras dialog box.
5
Save your movie.
6
Testing the Speech Xtra
To verify that your computer is configured correctly to let the Speech Xtra work, you can perform
a simple test.
•
To test the Speech Xtra, type the following script into the Message window:
put voiceInitialize()
If the result is 1, then the Speech Xtra is working. If the result is 0, then you might not have
text-to-speech software installed on your computer. For more information about text-to-speech
software, see
"System requirements" on page
Using the Accessibility behavior library
You can make movies accessible in three ways. You can add keyboard navigation, text-to-speech,
and captioning. The Director Library palette includes an Accessibility section that contains
behaviors for enabling each capability.
For keyboard navigation, you use the Accessibility Target, Accessibility Item or Accessibility Text
Edit Item, Accessibility Keyboard Controller, and Accessibility Group Order behaviors.
For text-to-speech, you use the keyboard navigation behaviors and then add either the
Accessibility Speak or Accessibility Speak Member Text behavior. You can also use the
Accessibility Speak Enable/Disable behavior to let users turn the text-to-speech feature on and off.
For captioning, you use the Keyboard navigation behaviors and Accessibility Speak behaviors and
then add the Accessibility Captioning and Accessibility Synch Caption behaviors.
428
Chapter 20: Making Director Movies Accessible
436.
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