Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/01/2003, 11:45
Avatar de TMeister
TMeister
Crazy Coder
 
Fecha de Ingreso: enero-2002
Ubicación: En la Oficina
Mensajes: 2.880
Antigüedad: 22 años, 3 meses
Puntos: 193
Puedes utilizar getBytesLoaded y getBytesTotal algo asi:

Código:
tuXML.onLoad = cargaXML; 

function cargaXML() { 
MC.onEnterFrame = function() { 
b_total = tuXML.getBytesTotal();
b_loaded = tuXML.getBytesLoaded();
if (b_loaded < b_total) { 
porcentaje = (b_loaded/b_total)*100;
estatus = "cargando Info" add porcentaje add "%"; 
} else { 
estatus = "Info Cargada"; 
delete this.onEnterFrame; 
} 
//aqui va todo lo que Flash hara cuando el XML este cargado!
};
Saludos!!