Flash Debug Player pop up.


when run flex application in debug flash player exception pop unexpected happened. catch exception can happen anywhere in flex code , if happens don't allow adobe debug flash player open pop window exception or error. tried:

 

[postconstruct]
public function init():void
{
  
flexglobals.toplevelapplication.systemmanager.stage.loaderinfo.
  uncaughterrorevents
.
  addeventlistener
(uncaughterrorevent.uncaught_error,uncaughterrorhandler);
}

private function uncaughterrorhandler(event:uncaughterrorevent):void
{
  
event.preventdefault();
  
event.stopimmediatepropagation();
}

but don't work, general runtime error dialog still pop up. tried prevent this, call event.preventdefault() inside global error handler, don't work me too. i'm using flex 4.

 

i want window not appear if user use debug flash player don't read runtime error stack trace in can see libraries use in programm.

how can this?

 



More discussions in Adobe Document Center ARCHIVED


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop