PDA

View Full Version : Dynamically loading mp3 with MediaPlayback component


golfnutt929
04-25-2005, 06:19 PM
I have multiple song samples in mp3 format that I want to dynamically load to my website upon button click using the mediaPlayback component. My mp3 files are saved in the same folder as my swf file. However, it's not working.

Here's my code:

on (release) {
this.component_instance.autoload=false;
this.component_instance.contentPath="song.mp3";
this.component_instance.load();
this.component_instance.content._lockroot = true;
}

Any help would be greatly appreciated. Thanks

rf1017
05-16-2005, 05:21 PM
search for this movie in your fav browser: theron parlin mp3 player. it's a great dynamic mp3 player that loads from your server using html links and a simple txt file. just copy the frames and drop them into your movie. custom buttons etc. hope this helps.

undercover
08-08-2006, 09:17 PM
Theron Parlin's mp3 player works very well; but how do you get it to loop?

rf1017
10-05-2006, 01:00 AM
even better one : www.jeroenwijering.com/?item=Flash_MP3_Player