sulla _root...mi sembrava abbastanza chiaro :master:
codice:var fd:Sound = new Sound(); fd.loadSound("prova.mp3", true); this.onEnterFrame = function() { loa = fd.getBytesLoaded(); tot = fd.getBytesTotal(); perc = Math.round((loa/tot)*100); this.dis.text = perc+" %"; if (loa>=tot) { delete this.onEnterFrame; } trace(loa); }; fd.onSoundComplete = function() { trace("caricamento completato"); fd.start(0, 1); };