stop() (Sound Channel)
551
Example
This statement stops playback:
-- Lingo syntax
member(1).stop()
// JavaScript syntax
member(1).stop();
See also
DVD
stop() (Sound Channel)
Usage
-- Lingo syntax
soundChannelObjRef
.stop()
// JavaScript syntax
soundChannelObjRef
.stop();
Description
Sound Channel method; stops the currently playing sound in a sound channel.
Issuing a
play()
method begins playing the first sound of those that remain in the queue of the
given sound channel.
To see an example of
stop()
used in a completed movie, see the Sound Control movie in the
Learning/Lingo folder inside the Director application folder.
Parameters
None.
Example
This statement stops playback of the sound cast member currently playing in sound channel 1:
-- Lingo syntax
sound(1).stop()
// JavaScript syntax
sound(1).stop();
See also
getPlayList()
,
pause() (Sound Channel)
,
play() (Sound Channel)
,
playNext()
(Sound Channel)
,
rewind() (Sound Channel)
,
Sound Channel
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...