Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/07/2007, 02:08
cpucpu
 
Fecha de Ingreso: febrero-2005
Ubicación: MEXICO
Mensajes: 455
Antigüedad: 19 años, 2 meses
Puntos: 5
3 horas batallando, swf casi listo, pero no...

bueno, segui un consejo de un copañero del foro..me dio un link y todo bien, deseo hacer un preload externo pero a puro codigo..le he hecho algunas modificaciones pero aun no funciona, no le hayo, aqui esta el codigo por si alguien lo desea revisar

Cita:
depth=getNextHighestDepth();
_root.createEmptyMovieClip("preload",dep th);
_root.preload.createEmptyMovieClip("contenedo r",depth);
_root.preload._x=0;
_root.preload._y=500;
loadMovie("ondas_sinpreload.swf",_root.p reload.contenedor);
//_root.preload.contenedor.loadMovie("tumovie.s wf");
preload.createTextField("texto_txt",1,50 ,50,50,50);
//preload.texto_txt.text = "el zorro";

preload._visible=false;
preload.onEnterFrame=function(){
bl=contenedor.getBytesLoaded();
bt=contenedor.getBytesTotal();
if (bl>=bt && bl>4){
this._visible=false;
}else{
this._visible=true;
texto_txt.text=Math.floor(bl*100/bt)+"%"; }
}
como veran creo un MC llamado "preload" que contiene a "texto_txt" y a otro MC "contenedor".

NOSE NOSE pero me trae loco.
Any response is welcome.

PD;este es el website DEL me da -Non a Number- NaN%
__________________


Última edición por cpucpu; 16/10/2007 a las 18:39