Sound Loop

Hi,

Does anyone know the code to loop an externally loaded sound? The loop is about 5 seconds but I would like to loop it 30 times making it much longer.

Here is my code to load it.

on (press) {
stopAllSounds();
}
on (release) {
mySound = new Sound();
mySound.loadSound(“music/ambient.mp3”, true);
}

Thanks.