Package | org.audiofx.mp3 |
Class | public class MP3FileReferenceLoader |
Inheritance | MP3FileReferenceLoader ![]() |
See also
Method | Defined by | ||
---|---|---|---|
Constructs an new MP3FileReferenceLoader instance
| MP3FileReferenceLoader | ||
getSound(fr:FileReference):void
Once a FileReference instance has been obtained, and the user has browsed to a file, call getSound to start loading the MP3 data.
| MP3FileReferenceLoader |
Event | Summary | Defined by | ||
---|---|---|---|---|
Dispatched when the MP3 data is loaded | MP3FileReferenceLoader |
MP3FileReferenceLoader | () | constructor |
public function MP3FileReferenceLoader()
Constructs an new MP3FileReferenceLoader instance
getSound | () | method |
public function getSound(fr:FileReference):void
Once a FileReference instance has been obtained, and the user has browsed to a file, call getSound to start loading the MP3 data.
When the data is ready, an MP3SoundEvent.COMPLETE
event is emitted.
fr:FileReference — A reference to a local file.
|
See also
complete | event |
org.audiofx.mp3.MP3SoundEvent
org.audiofx.mp3.MP3SoundEvent.COMPLETE
Dispatched when the MP3 data is loaded
Used to signal the loading of a sound by the MP3FileReferenceLoader
following a call to MP3FileReferenceLoader.getSound