Código :
prexml._width = 0; this.onEnterFrame = function() { porce = Math.round( (dentro.getBytesLoaded()*100) / dentro.getBytesTotal()); if( porce == "NaN" ) porce=0; prexml._width = porce; texto.text = porce + "%"; if(porce==100){ texto.text = ""; prexml._visible = false;} }
Espero y puedan ayudarme