Sound.loadSound
Availability
Flash Player 6.
Usage
mySound.loadSound("url", isStreaming)
Parameters
url The location on a server of an MP3 sound file.
isStreaming A Boolean value that indicates whether the sound is a streaming or event sound.
Returns
Nothing.
Description
Method; loads an MP3 file into an instance of the Sound object. You can use the isSteaming parameter to indicate whether the sound is an event or a streaming sound.
Event sounds are completely loaded before they play. They are managed by the ActionScript Sound object and respond to all methods and properties of this object.
Streaming sounds play while they are downloading. Playback begins when sufficient data has been received to start the decompressor. As with event sounds, streaming sounds exist only in virtual memory, they are not downloaded to the hard drive.
Example
The following example loads an event sound:
s.loadSound( "http://serverpath

ort/mp3filename", false);
The following example loads a streaming sound:
loadSound( "http://serverpath

ort/mp3filename", true);