Sound.stop
From Spheriki
Stop the playback of a sound.
Contents |
[edit]
Usage
sound.stop();
- sound Sphere Sound object. The sound to stop playing.
[edit]
Examples
The examples section of Sound.play() contains the use of this function in context, but it's simple to use:
my_sound.stop();
[edit]
Notes
- If the sound isn't currently playing, this function will have no effect.
- This function will stop the sound whether or not it is being played in a loop.
[edit]
See also
- Sphere Sound object

