This basic MP3 player is easy to use in flash projects. You can easily drag an instance into your projects or use it as a stand alone player. The user can quickly turn on/off the audio. For many projects there is no need for volume sliders or shuffle buttons.
The MP3 Player contains various features and settings. You can alter the volume and change the auto play setting of the player. The playlist is loaded from an xml file. This way you can add an unlimited number of songs to your playlist, all loaded externally. When changing the on/off setting, the music will fade in/out. This second version also contains a shuffle function. This shuffle function doesn’t randomly pick a song, but shuffles the playlists queue, creating a new queue.
The equalizer of this players second version also contains a real-time analyzer, no random animation.
The file has also a few error functions build in. Such as:
- The text of the player will turn red if there occurres an error loading the xml file, this way you can easily see what’s wrong if you test online.
- When a songs fails to load, it will be skipped and the player will continue with the next song.
The Actionscript is well commented and comes in a AS2 and AS3 version.
All these settings can easily be changed using flashvars
xml_url = "playlist.xml"; autoplay = "true"; shuffle = "true"; max_volume = "80";
If you have any questions or run into a problem, don’t hesitate to mail me.
UPDATE 06 -01-09- From now on this player is also available in actionscript 2.0 version. Do note that the real-time equalizer requires an actionscript 3.0 function and is therefore replaced by a random animation.
FEEL FREE TO DROP YOU LINK BELOW TO SHOW HOW YOU USED THIS FILE !
