scusate l'intromissione, qualche piccola modifica alla function iniziale

codice:
function preload(clip){
	clip.stop();
        car = clip.getBytesLoaded();
	tot = clip.getBytesTotal();
	perc = Math.floor((car/tot)*100);
	clip.createTextField("testo", 1, (clip._width/2), (clip._height/2), 200, 20);
	clip.testo.wordWrap = true;
	testoformat = new TextFormat();
	testoformat.color = 0x123466;
	testoformat.font = "Verdana";
	if(!isNaN(perc)) {
		clip.testo.text = "Caricamento..."+perc+"%";
		clip.testo.setTextFormat(testoformat);
	}
	if (car >= tot && car > perc && perc == 100) {
		clearInterval(a);
		clip.testo.text = "";
                clip.play();
	}
}