Synchronizing Media - MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual

Table of Contents

Advertisement

To stop a streaming sound file, use the
To determine the state of a streaming sound file, test the
To determine whether an error occurred when streaming a sound file, use the
function.
To obtain a string describing an error that occurred when streaming a sound file, use the
getErrorString()
To determine the length of a streaming sound file, use the
To determine the bit rate of a streaming sound cast member, test the
property.
To determine the original bit depth of a streaming sound, test the
To determine the sample rate of the original sound used for a streaming cast member, test the
cast member property.
sampleRate
To determine the number of channels in a streaming sound, test the
cast member property.
To specify a streaming sound's volume, specify the
To specify a streaming sound file's URL, set the
To obtain or set the copyright text in a streaming sound file, test or set the
member property.

Synchronizing media

To pause the playhead until a specified cue point in a sound or digital video is reached, you can
use the Wait for Cue Point option in the Tempo dialog box. You can also use this function to wait
for the end of the sound or digital video, even if it has no cue points. Cue points can also be used
to trigger events that Lingo can interpret. See "Synchronizing sound with Lingo" on page 329.
Note: The methods discussed in this section for synchronizing media apply to sound and digital video. For more
information on using video in Director MX see "Using Video" on page 331.
For example, you can use cue points to make text appear in time with narration. First, use a
program such as Peak LE 2 to place cue points in the sound file that correspond to the times when
you want the text to appear on Stage. In Director, use the Tempo dialog box to pause the
playhead at the frame where the corresponding text appears until the voice-over reaches the
proper cue point.
In Windows, use Sound Forge 4.0 or later or Cool Edit 96 or later to define cue points (called
markers or regions within these programs). For instructions, see the Readme Windows Sound
Loop-Cue.txt file in the Director application folder.
On the Macintosh, use Sound Edit 16 2.07 or later, or Peak LE 2 or later, to define cue points in
AIFF and Shockwave Audio sounds and in QuickTime digital videos.
Note: You can insert cue points into QuickTime files only on the Macintosh; however, the cue points can be used on
both platforms.
AVI digital video does not support cue points.
328
Chapter 12
stop member
function.
command.
cast member property.
state
cast member command.
duration
bitRate
bitsPerSample
numChannels
streaming cast member property.
volume
cast member property.
URL
getError()
cast member
property.
streaming
cast
copyrightInfo

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents