
stopDrag() Global Function
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
Alphabetical Language Reference
|
803
enemy of play(). Commonly, it is used to wait for the user to choose from a graphical
menu. Even while a movie is stopped, the Player continues to play sounds, react to user
actions, and process events. Flash also continues to render changes to the screen in other
movie clips or buttons, even if the playhead of the current movie clip is stopped. Similarly,
visual changes performed in event handlers or via setInterval() are rendered even when the
playhead is stopped. The stop() function merely prevents the playhead from advancing in
the current timeline.
See Also
MovieClip.stop(), play()
stopAllSounds() Global Function
silence a movie
Flash 3
stopAllSounds()
Description
The stopAllSounds() function mutes all the sounds currently playing in a movie, no matter
how deeply the sounds are nested in movie clips. This applies to every sound in a movie,
including programmatically generated Sound objects. For more precise control over stop-
ping, 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. Because button sounds are not controllable
via the Sound class, there is no way to mute an entire