Here is my code:
in main appication:
protected function globalErrorHandler(event:Event):void
systemManager.loaderInfo.uncaughtErrorEvents.addEventListener(Uncaugh tErrorEvent.UNCAUGHT_ERROR, onUncaughtError);
systemManager.loaderInfo.addEventListener(SecurityErrorEvent.SECURITY _ERROR, onUncaughtError);
Somewhere at the run time I am generating an unhandled error. I see FP's popup error window and the same error goes into flashlog.txt, but I dont see it getting into onUncaughtError function. What am I doing wrong?
I have a very huge codebase following robotlegs framework.
I have regsitered Above Uncaught errors in my Main application file.
I was fortunate enough to get this event working in one of the files but could capture only ONE error out of multiple runtime errors inserted in program.
Any help will be much appreciated.