sai che cosa? le canzoni sono talmente piccole che a me con l' adsl non mi fa nemmeno vedere la barra ...
comunque l' as è giusto io faccio così
codice:
mySound = new Sound();
mySound.loadSound("../sound/" + gSoundMpp,false);
mySound.onLoad = function(){
mySound.start(0,999999);
}
_root.player_mc.controllo_mc.onEnterFrame = function(){
var Stot = _root.mySound.getBytesLoaded();
var Scar = _root.mySound.getBytesTotal();
var Sperc = Math.round(Stot/Scar*100)
_root.player_mc.dati_txt.text = Sperc + " %"
if (Sperc == 100){
_root.player_mc.dati_txt.htmlText = "Playing ...
" + "Sound nr: " + _root.gSoundNum;
}
}