ciao fragolina-mx,
a me funziona, ma così:
counter = 0;
function carica(count) {
if (counter > 6) {
count = 1;
}
file ="loop"+count+".mp3";
Suono = new Sound ();
Suono.loadSound(file, true);
Suono.onSoundComplete = function () {
Suono.start(0, 1);
}
}
next_btn.onRelease = function() {
counter++;
if (counter > 6) {
counter = 1;
}
carica(counter);
}
E quando clicchi sul 6° brano, il next ricomincia dal primo.
Naturalmente gli mp3 devono chiamarsi:
loop1.mp3
loop2.mp3
loop3.mp3
loop4.mp3
loop5.mp3
loop6.mp3
Enjoy !
NAP

Rispondi quotando