PDA

View Full Version : looping dynamic mp3



bo-
April 28th, 2003, 09:09 PM
I loaded an mp3 dynmically into my movie doing the following:

firstSound=new Sound();
firstSound.loadSound("math.mp3", true);
playing=true;


How would I go about looping this mp3?

kode
April 28th, 2003, 10:02 PM
firstSound.onSoundComplete = function() {
this.loadSound("math.mp3", true);
};
that's the only way i know... :-\

bo-
April 28th, 2003, 10:53 PM
thanks
as long as it works it's fine with me

kode
April 29th, 2003, 12:00 AM
:P

no problem. ;)