How can I listen for function completion?
let's say I have this processFile function, which is triggered in Class Constructor with another event listener.
private function processFile(e:event):void
{
//do whatever is this function suppose to do
}
now I want to listnen for it's completion
When I use
processFile.addEventListener(Event.Complete, anotherCoolFunction);
I get an Errorr
Error: 1061 posssibly undefined method AddEventListener through a stati type function