Flash Media Player

Hi everyone…

I was trying to make a media player with AS3 coding… I know how to make play, pause, next buttons etc… And i also learned to load playlist from a XML file (created mannually)…

What i actually need is to browse the computer and select multiple files and add those files to a playlist… All these must be done with the media player itself(not manually typing the XML data)…

Please help me to create XML file dynamically by selecting the music files, using the player… Or is there some other method to create playlist without making the XML?..

Thankx in advance…