MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 111

Director scripting reference
Table of Contents

Advertisement

Sound Channel
Represents an individual sound channel found within the Sound object.
There are eight available sound channels. You can use a Sound Channel object in script to access
and modify any of the eight sound channels.
Note: You can modify only the first two sound channels in the Score of the Director user interface.
You can create a reference to a Sound Channel object by using the top level
Player object's
sound
reference sound channel 2 by doing the following:
Use the top level
-- Lingo syntax
objSoundChannel = sound(2)
// JavaScript syntax
var objSoundChannel = sound(2);
Use the Player object's
-- Lingo syntax
objSoundChannel = _player.sound[2]
// JavaScript syntax
var objSoundChannel = _player.sound[2];
Use the Sound object's
-- Lingo syntax
objSoundChannel = _sound.channel(2)
// JavaScript syntax
var objSoundChannel = _sound.channel(2);
Method summary for the Sound Channel object
Method
breakLoop()
fadeIn()
fadeOut()
fadeTo()
getPlayList()
isBusy()
pause() (Sound Channel)
Property summary for the Sound Channel object
Property
channelCount
elapsedTime
endTime
property, or the Sound object's
method.
sound()
property.
sound
method.
channel()
method. For example, you can
channel()
play() (Sound Channel)
playFile()
playNext() (Sound Channel)
queue()
rewind() (Sound Channel)
setPlayList()
stop() (Sound Channel)
member (Sound Channel)
pan
sampleCount
method, the
sound()
Sound Channel
111

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents