Simple question. In the following code…
function makeTheCall(){
var _loader:URLLoader = new URLLoader();
_loader.addEventListener(Event.COMPLETE, handleOnComplete, false, 0, true);
//do the request
}
function handleOnComplete(evt:Event){
//do stuff
}
…how would I remove the listener?