... This class forms the basic functional framework of any MP3 player that you can model. It helps in keeping UI separate from the functionality.
public addEventListener:Functionpublic removeEventListener:Functionpublic dispatchEvent:Functionpublic playlist:PlayListpublic currentPlayingTrackNum:Numberpublic currentPlayingTrack:String [Read Only]public currentPlayingTrackPath:String [Read Only]public volume:Numberpublic function playMusic():VoidFunction to be called when you have to resume music playback. Dispatches an event with name "MusicStarted".
public function pauseMusic():VoidFunction to be called when you have to pause music playback. Dispatches an event with name "MusicPaused".
public function stopMusic():VoidFunction to be called when you have to stop music playback. Dispatches an event with name "MusicStopped".
public function playNext()Function to be called when you have to go to next track. Dispatches an event with name "NextTrackSelected".
public function playPrev()Function to be called when you have to go to previous track. Dispatches an event with name "PreviousTrackSelected".