codice:preload.barra._xscale=0 _level0.onEnterFrame=function(){ car=this.getBytesLoaded() tot=this.getBytesTotal() perc=Mat.round(car/tot*100) preload.barra._xscale=perc if(car==tot && car >1024){ // caricamento avvenuto preload.barra._alpha=100 preload.barra.onEnterFrame=function(){ if(this._alpha>0){this._alpha-=10} else{delete this.onEnterFrame} } delete this.onEnterFrame } }