si blocca sempre!

Codice PHP:
stop();

this.addEventListener(Event.ENTER_FRAMEcaricamento);

function 
caricamento(e:Event) {

var 
bytes_caricati Math.round(stage.loaderInfo.bytesLoaded);
var 
bytes_totali Math.round(stage.loaderInfo.bytesTotal);
var 
percentuale Math.round((bytes_caricati/bytes_totali)*10); // per il numero di frame dell'animazione utile, quindi 10
percentuale Number(percentuale);
if(!
isNaN(percentuale)) {
    
preload.gotoAndStop(percentuale);



if (
bytes_caricati >= bytes_totali && bytes_totali percentuale && percentuale == 100) {
    
    
this.removeEventListener(Event.ENTER_FRAMEcaricamento);
    
gotoAndPlay(11);
}