SWiSH Player Support
SWF5 or later - Not Supported (Use File | Test | Browser/Player)
Syntax
new Sound({target});
Arguments
target: the Sprite instance that contains the Sound. This is an optional argument.
Returns
Nothing.
Description
Constructor; creates a new Sound object for the target Sprite. If the target argument is not specified then the new Sound object will control all sounds in the movie.
Sample
mySound = new Sound(mySprite);
mySound.setVolume(75);
// creates a sound object to control the sound playing within the Sprite "mySprite" and sets its volume to 75%