sto testando i vari metodi di loadSound....
Per lo streaming ok va tutto bene.
Ma se non e' streaming mi crea dei problemi se provo a metterci insieme un preloader.
Ho fatto diversi tentativi ma niente il preloader mi funziona solo la prima volta che lo testo poi basta,strano direi.
Comunque ecco quello che avevo fatto io:
stop();
mySound=new Sound(this);
mySound.onLoad=function() {
this.start();
}
this.onEnterFrame=function() {
preload.car=Math.round(mySound.getBytesLoaded()/1000)+"Kb";
preload.tot=Math.round(mySound.getBytesTotal()/1000)+"Kb";
}
mySound.loadSound('Sound/alex1.mp3',false);
Qualcuno mi illumina ?


Rispondi quotando
