S > Sound.stop

Sound.stop

Syntax

mySound.stop();
mySound.stop(["idName"]);

Arguments

idName An optional argument specifying a specific sound to stop playing. The idName argument must be enclosed in quotation marks(" ").

Description

Method; stops all sounds currently playing if no argument is specified, or just the sound specified in the idName argument.

Player

Flash 5 or later.

See also

Sound.start