
Accessibility
241
Synchronizing sound with Lingo or JavaScript syntax
By writing script that performs an action when a cue point is reached in a sound or QuickTime
file, you can synchronize a movie with sound or digital video. For more information about the
following methods and properties, see the Scripting Reference topics in the Director Help Panel.
•
To set up script that runs when the movie reaches a cue point in a sound or QuickTime file,
put the script in an
on cuePassed
handler.
•
To determine whether a sound or QuickTime file has passed a specific cue point, use the
isPastCuePoint()
method.
•
To find the ordinal number of the last cue point passed in a sound or QuickTime file, use the
mostRecentCuePoint
method.
•
To obtain a list of names for the cue points in a specific sound or QuickTime file, test the
cuePointNames
property.
•
To obtain a list of times for cue points in a specific sound or QuickTime file, test the
cuePointTimes
property.
Accessibility
With scripts and behaviors, you can provide captioning to help users with hearing impairment
experience the audio portions of your movies. For more information, see
Chapter 20, “Making
Director Movies Accessible,” on page 427
.
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...