Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/03/2005, 17:22
Avatar de goc00
goc00
 
Fecha de Ingreso: enero-2002
Ubicación: 000's DiMensiOn
Mensajes: 979
Antigüedad: 22 años, 3 meses
Puntos: 3
Mi estimado mau, solo es una pequeña falla del código, debería quedarte así:

SUPONGAMOS QUE AL DYNAMIC TEXT LE PUSISTE COMO NOMBRE DE INSTANCIA "infotxt" (obviamente sin las comillas)

Código:
onClipEvent (load) {
   total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
   loaded = _root.getBytesLoaded();
   percent = int(loaded/total*100);
   infotxt.text = "Loaded "+percent+"%"; //aquí estaba el problema
   gotoAndStop(percent);
   if (loaded == total) {
      _root.gotoAndPlay(2);
   }
// end if
}
Otra recomendación es que actualices ese código a la sintaxis de ahora, esos int están deprecated, incluso ya vamos en AS 2.0 (lo que significa que un tiempo más ese script no será válido o mejor dicho no te funcionará)
__________________
GOC00 CominG soOn v2.0
CyA! & GooD LuCK...