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