110
Chapter 5: Director Core Objects
Sound
Controls audio playback in all eight available sound channels.
The Sound object consists of Sound Channel objects, which represent individual sound channels.
You can create a reference to the Sound object by using top level
_sound
property.
•
Assign
_sound
to a variable.
-- Lingo syntax
objSound = _sound
// JavaScript syntax
var objSound = _sound;
•
Use the
_sound
property to access the Sound object’s
soundDevice
property.
-- Lingo syntax
objDevice = _sound.soundDevice
// JavaScript syntax
var objDevice = _sound.soundDevice;
Method summary for the Sound object
Property summary for the Sound object
See also
_sound
,
Sound Channel
Method
beep()
channel() (Sound)
Property
soundDevice
soundDeviceList
soundEnabled
soundKeepDevice
soundLevel
soundMixMedia
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...