Me explico?
Tengo un MC, el cual tiene dentro otro MC q es un contenedor.
Uso este codigo para la precarga.
Código :
this.cen.onEnterFrame = function() { this.cen.cargador._visible = false; this.cen.total = this.cargador.getBytesTotal(); cargados = this.cargador.getBytesLoaded(); porcentaje = int((cargados/total)*100); if (cargados>13 && porcentaje == 100) { this.cen.cargador._visible = true; this.cen.caja._visible = false; this.cen.bar._visible = false; this.onEnterFrame = null; } if (porcentaje<100) { this.cen.bar._xscale = porcentaje*200; this.cen.tanto = porcentaje+"%"; } }; this.cen.cargador.loadMovie("archivo.swf");
Eso no anda... digamos anda si lo hago fuera del mc.
El codigo esta en el frame principal
Que puedo hacer?