MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 632

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

Description
Method; loads an MP3 file into a Sound object. You can use the
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 class and respond to all methods and properties of this class.
Streaming sounds play while they are downloading. Playback begins when sufficient data has been
received to start the decompressor.
All MP3s (event or streaming) loaded with this method are saved in the browser's file cache on the
user's system.
Example
The following example loads an event sound:
my_sound.loadSound( "http://serverpath:port/mp3filename", false);
The following example loads a streaming sound:
my_sound.loadSound( "http://serverpath:port/mp3filename", true);
See also
Sound.onLoad
Sound.onID3
Availability
Flash Player 7.
Usage
my_sound.onID3 = function(){
// your statements here
}
Parameters
None.
Returns
Nothing.
Description
Event handler; invoked each time new ID3 data is available for an MP3 file that you load using
Sound.attachSound()
without polling. If both ID3 1.0 and ID3 2.0 tags are present in a file, this handler is called twice.
632
Chapter 12: ActionScript Dictionary
or
Sound.loadSound()
isStreaming
. This handler provides access to ID3 data
parameter to

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Table of Contents