The following examples assign sound channel 1 to the RealMedia stream in sprite 2 and the cast
member Real.
-- Lingo syntax
sprite(2).soundChannel = 1
member("Real").soundChannel = 1
// JavaScript syntax
sprite(2).soundChannel = 1;
member("Real").soundChannel = 1;
See also
realPlayerNativeAudio()
soundDevice
Usage
-- Lingo syntax
_sound.soundDevice
// JavaScript syntax
_sound.soundDevice;
Description
Sound property; allows the sound mixing device to be set while the movie plays. Read/write.
The possible settings for
Several sound devices can be referenced. The various sound devices for Windows have
different advantages.
•
MacroMix (Windows)—The lowest common denominator for Windows playback. This
device functions on any Windows computer, but its latency is not as good as that of other
devices.
•
QT3Mix (Windows)—Mixes sound with QuickTime audio and possibly with other
applications if they use DirectSound. This device requires that QuickTime be installed and has
better latency than MacroMix.
•
DirectSound (Windows)—Similar to QT3Mix, but provides higher latency.
•
MacSoundManager (Macintosh)—The only sound device available on the Macintosh.
Example
The following statement sets the sound device to the MacroMix for a Windows computer. If the
newly assigned device fails, the
-- Lingo syntax
_sound.soundDevice = "MacroMix"
// JavaScript syntax
_sound.soundDevice = "MacroMix";
See also
Sound,
soundDeviceList
are the devices listed in
soundDevice
property is not changed.
soundDevice
.
soundDeviceList
soundDevice
997
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers