XML MP3 Player v3

I’ve been working on the third version of my MP3 Player lately, and it’s about time to show it to the world. One of the biggest changes is the modular behavior of the player - the core player is rather simple, with the info, controls and bars, and modules can be added to configure the player to fit your needs. The biggest reason for this was to solve the repeated requests for whatnot - you can now write extensions as you see fit.

Some of the key improvements:

[list]
[]Entirely written in AS 2.0
[
]Modular - Extensions can be written at will
[]Filesize no longer needs to be specified in the XML file
[
]Validation of interface elements and required settings
[]One Settings object manages all settings
[
]Better use of functions
[]Any file in the correct XML format can be used (such as PHP/ASP/CFM/… outputs)
[
]General stability
[*]Overall structure
[/list] To-do list:

[list]
[]Volume slider module (horizontal and vertical)
[
]Individual sound buffers
[]Loop mode
[
]Some more small gadgets
[*]Make the positionbar draggable
[/list]
The player use two main classes: vPlayer.as and Song.as. The last one is just a structure to store the song data in, vPlayer.as is the one that does the real work. Furthermore, the modules are stored in a folder ‘Mods’. This is important for the class structure.

Because this player is written in AS 2.0, there is no FMX version available of this player. Upgrade to FMX 2004.

Here’s an example of the core player, plus two mods: PlayTime and SongList. Interface is crap, but don’t mind that :stuck_out_tongue:
http://www.voetsjoeba.com/lab.php?i=16

[size=3]
------- current modules -------
[/size]

PlayTime
This mod uses a movieclip with a textfield in it to display the time the current song has been playing.

SongList
Displays a MX 2004 list component that shows the titles of all the songs in the playlist. Upon clicking a title, the corresponding song starts to play. Automatic update of the selected title when the player starts a new song.

SongBox
Displays a MX 2004 combobox component that shows the titles of all the songs in the playlist. Upon clicking a title, the corresponding song starts to play. Automatic update of the selected title when the player starts a new song.

awesome work dude :thumb:

how about adding a crossfader?

Nice!! GREAT WORK AS ALWAYS!! Can’t wait for the to-dos!!! :pleased:

I like your taste in music Voets!

[SIZE=-4]and nice work on the player![/SIZE] :thumb:

sweet work as always!

Hi all,

New here. Been playing around with Voet’s player v2. Great work!!! I’ve been looking for something like this for ages. Just saw the v3 player, but I’m so close to getting v2 to do what I want. What I’m trying to do is to get the player to work from inside a MC. I’ve changed the classes in the beginning, but the volume and length handles doesn’t work. It plays the music though…
I’ve seen people posting their files for you to look at so I hope you can spend a few minutes and help me out. It’ll be very much appreciated!!

Here’s my Fla and Swf: http://matix.drumandbass.no/downloads/v2XML_alt.zip

Include your playlist.

Added the SongBox module.