Looping streaming a streaming MP3 song

Can anyone tell me why when my streaming mp3 song isn’t looping? It works fine on my PC but when I upload it to the server, the song plays once then stops.

[AS]
mySound = new Sound();
mySound.loadSound(“http://www.blahblahblah/loop.mp3”, true);
mySound.start(0,999);
mySound.onSoundComplete = function() {
mySound = new Sound();
mySound.loadSound(“http://www.blahblahblah/loop.mp3”, true);
mySound.start(0,999);
};
[/AS]

I initially didnt have the check for ‘soundcomplete’, I presumed it would loop again by using the 'start(0,999). This didnt work so I did a check and told it to load the sound again and play, this doesn’t work either :frowning:

Does anyone know what’s going on with this?

AFAIK you can’t loop streaming sound…

ahh but you u can, kinda :slight_smile:
[AS]
loopSound = function () {
mySound.loadSound(“test.mp3”, true);
};
mySound = new Sound();
mySound.loadSound(“test.mp3”, true);
mySound.onSoundComplete = loopSound;
[/AS]

that will work around your problem, but there will be a skip, sry only thing i can come up with

Thanks, works perfectly.

Not sure why my version didnt work though :frowning: