Cuando le paso la variable al getURL me dice 
undefined 
Código:
 function Adelante() {		
	var obj_xml:XML = new XML();	
	obj_xml.ignoreWhite = true;	
	obj_xml.onLoad = function(exito) {	
		if (exito) {
			var link1 = obj_xml.firstChild.childNodes[0].firstChild.nodeValue;
			link1_txt.text = link;			
		} else {
			link1_txt.text = "Error";
		}
	};
	obj_xml.load("menu.xml");	
	getURL(link1);
	}