May 2001
Intermediate to advanced
720 pages
23h 24m
English
stopAllSounds( ) Global Function — silence a movie
Flash 3 and later
stopAllSounds( )
The stopAllSounds( ) function mutes all the
sounds currently playing in a movie, no matter how deeply nested in
movie clips. This applies to every sound in a movie, including
programmatically generated Sound objects. For
more precise control over stopping, starting, and setting the volume
of sounds, see the Sound class.
Note that stopAllSounds( ) has only a temporary
effect. Any sound that starts after a stopAllSounds(
) invocation will play normally. There is no way to
permanently mute a movie.
Sound.setVolume( ), Sound.stop(
)
Read now
Unlock full access