poi non dite che non vi voglio bene:
codice:
Stage.showMenu = false;
System.useCodepage = true;
perload = setInterval(preloader, 1000);
//tempo = getTimer();
stop();
//Loading
function preloader() {
if (getBytesLoaded() >= getBytesTotal()) {
clearInterval(preload);
gotoAndStop(2);
}
tempo = getTimer();
perc = Math.round((getBytesLoaded() / getBytesTotal()) * 100);
trascorso = Math.round(tempo / 1000);
residuo = Math.round((trascorso / perc)*(100-perc));
testo.text = "sono passati " + trascorso + " secondi e ne mancano " + residuo;
}