Ver Mensaje Individual
  #9 (permalink)  
Antiguo 09/02/2009, 10:45
Avatar de Diegoazul
Diegoazul
 
Fecha de Ingreso: mayo-2007
Ubicación: { Dash Berlin }
Mensajes: 1.879
Antigüedad: 16 años, 10 meses
Puntos: 67
Respuesta: Llamar img y getURL, AS

Porque si el boton esta visible antes de cargar el xml entonces si le das click no te llevara ningun lado la web ya que el xml aun no carga la direccion , por eso el boton vuelve visible (boton_btn._visible = true;)cuando carga la url:

Código:
obj_xml.onLoad = function(exito) {

	if (exito) {
		boton_btn._visible = true;
		liga_a_google = String(obj_xml.firstChild.childNodes[0].firstChild.nodeValue);
		varURL1.text = obj_xml.firstChild.childNodes[0].firstChild.nodeValue;

	} else {
		varURL1.text = "Error";
	}
};