Comunidad de diseño web y desarrollo en internet online

Problema con enterframe

Citar            
MensajeEscrito el 31 Ago 2006 08:10 pm
Hola mi problema es el siguiente tengo un codigo para hacer el preloading, pero una vez que termina, me deja la pelicula en un loop y no puedo pararla.

Código :

stop();
onEnterFrame = function(){   
porcentaje = Math.floor(getBytesLoaded() * 100 / getBytesTotal())   
txt_porcentaje.text=porcentaje + "%";
barrita_de_carga.gotoAndStop(porcentaje + 1);
if (porcentaje == 100){
   gotoAndPlay("INICIO","1");
}
}

Por JavierS

37 de clabLevel



Genero:Masculino  

Viña/Chile

firefox
Citar            
MensajeEscrito el 31 Ago 2006 10:46 pm
En vez de...

gotoAndPlay("INICIO","1");

Haz...

gotoAndStop("INICIO","1");

Por Elecash

Claber

8126 de clabLevel

37 tutoriales
19 articulos
13 ejemplos

  Bastard Operators From Hell Desarrollador de GAIA Premio_Secretos Héroes

BarnaCity

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.