Mp3 player - Play/stop/load from html links (w/js?)

Does anyone have a resource for this, I’ve done some seraching and found some stuff, but nothing that just explains how, if possible to play an audio file in a flash mp3 player when you click on a html link (whether using js/php or whatever).

1.) Mp3 are loaded through your standard xml playlist. (Play, stop, next, prev, etc. etc.)
2.) User wants the flash player to stop the current song playing and play/load the song selected after clicking on one of the html links listed on a page.

Thanks for any direction/help.