Is it possible to run a function (loadRight) when the function (LoadXML) finishes?

Also if you need it the function LoadXML is ran by this

Code:
xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
	xmlLoader.load(new URLRequest("http://localhost/test.php"));