Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/03/2009, 12:06
Avatar de alexander_sp
alexander_sp
 
Fecha de Ingreso: febrero-2004
Ubicación: Barcelona
Mensajes: 719
Antigüedad: 20 años, 2 meses
Puntos: 4
Respuesta: mmm HAY ALGUIEN QUE SEPA DE PRECARGAS

OK .....merci me ha servido de ayuda.......pero ahora el problema que tengo es que la movie que se ha de cargar pesa muy poco y entonces no da tiempo a reproducirse la animacion de la precarga......


LO que hice por si le sirve a alguien es:
poner animacion clip con animacion desde freme 1 al 5
y en otra capa puse en el frame 3 el siguiente codigo:

kabiertos=Int(this.getBytesLoaded()/1024);
ktotal=Int(this.getBytesTotal()/1024);
porcentaje=Int((kabiertos*100)/ktotal);
precarga.gotoAndStop(porcentaje);;
frase=porcentaje+ "%";
if (kabiertos<ktotal) {
gotoAndPlay(1);
}
__________________
http://www.greatividad.es/