Answered
Sound won't loop
Basically I want a music clip to loop in the background. I
got it to load and play, but it won't loop. I've tried a few ways
including;
song = new Sound();
song.loadSound("song.mp3", true);
song.play(0, 1);
song.onSoundComplete=function(){
song.play(0,1);
};
and
var song = new Sound();
song.onLoad = function() {
song.start(0,9999);
};
song.loadSound("song.mp3", true);
But it never wants to repeat. I know that there's no 'silence' in the sound so it has to be something in the script. Any help?
song = new Sound();
song.loadSound("song.mp3", true);
song.play(0, 1);
song.onSoundComplete=function(){
song.play(0,1);
};
and
var song = new Sound();
song.onLoad = function() {
song.start(0,9999);
};
song.loadSound("song.mp3", true);
But it never wants to repeat. I know that there's no 'silence' in the sound so it has to be something in the script. Any help?
