la cosa es q todo bien de repente algo toque borre o no se q M*** pero no funciono mas aca dejo el codigo para q me ayuden
Código :
function cargando(){ var total, cargados, porcentaje; total = _root.getBytesTotal(); cargados = _root.getBytesLoaded(); porcentaje = Math.floor((cargados*100) /total); barra.loader.size = porcentaje; with(barra){ loader.onLoad = function (){ this._x = 0; this._width = Stage.width; this._xscale = 5; } loader.onEnterFrame = function (){ this._xscale += (this.size + this._xscale) /5; txt._x = this._x + this._width - 25; } txt.text = porcentaje+" %"; } if (cargados == total){ clearInterval(hiloPrecarga); play(); } } var hiloPrecarga = setInterval(cargando, 1); stop();