Groups | Blog | Home
all groups > flash actionscript > september 2004 >

flash actionscript : Plobs loading external mp3 as event...


pinter75
9/15/2004 11:21:59 PM
Hi,

I am trying to load an external mp3 file as a sound event - works as a stream
tho'!

faFile = "http://myserver/mymp3.mp3";

//Load sound
faTrack = new Sound();
faTrack.loadSound(faFile, false);
faTrack.onload = start_the_sound();
function start_the_sound() {
faTrack.start();
}

According to all the posts and help I have read this should work, or am I
missing something?

Refuses to work as a full URL or releative path.

Any ideas?

Thanks.
Peter Blumenthal
9/16/2004 11:46:49 AM
Try putting your onLoad statement before your loadMovie.

AddThis Social Bookmark Button