Hi,
OK well I have a little basic MP3 Player on my website but I am having trouble to run it good. I have a button that when press, loads a song from a url, here's what I have :
That works fine, I see the "Transferring data" in the status bar and te MP3 starts playing. But my problem is, if I press another button to load another song, it won't load because it looks like it is still loading the first song in streaming (still see the Transfering data).
I have the same code on my other button.
I also have a stop button with that code :
It works fine when I press it, the MP3 stop but then again, the "Transfering data still shows in the status bar" and I cannot load any other song my button becomes kind of innactive.
I hope I am clear enough, thanks for your time and your help.
OK well I have a little basic MP3 Player on my website but I am having trouble to run it good. I have a button that when press, loads a song from a url, here's what I have :
Code:
on (press) {
Sound = new Sound();
Sound.loadSound("MY LINK HERE", true);
Sound.start(0,0);
}
That works fine, I see the "Transferring data" in the status bar and te MP3 starts playing. But my problem is, if I press another button to load another song, it won't load because it looks like it is still loading the first song in streaming (still see the Transfering data).
I have the same code on my other button.
I also have a stop button with that code :
Code:
on (press) {
stopAllSounds();
}
I hope I am clear enough, thanks for your time and your help.