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.