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 
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.