I want it to do another action if the ID I key in does not exist or have an error, how do I trace the error event?
loadID=searchArea.text;
myLoader2.load(new URLRequest("GetData.aspx?id="+loadID));
if (errorEvent) {
trace("Please key in the correct ID");
} else {
myLoader2.addEventListener(Event.COMPLETE,processXML2);
}