salve a tutti..
carico un mp3 esterno così:
ma leggo nella documentazione ufficiale che "loops:Number [optional] - A parameter that lets you specify the number of times the sound should play consecutively. This parameter is not available if the sound is a streaming sound."Codice PHP:caricami = function (quale) {
var caricati = quale.getBytesLoaded();
var totali = quale.getBytesTotal();
var percentuale = Math.floor((caricati * 100)/totali);
}
canzone.onLoad = function () {
clearInterval(check);
canzone.start();
}
canzone.loadSound(”thunderstruck.mp3″, true);
var check = setInterval(caricami , 1000, canzone);
questo signofica che i files esterni NON "prendono" il loop.. come si può fare a mandare in loop un file esterno?
grazie in anticipo![]()


Rispondi quotando