开发者

Actionscript 3 top-level exception handling

开发者 https://www.devze.com 2023-01-12 18:52 出处:网络
Is it possible to catch ALL exceptions at some top-level in Actionscript 3? If so, h开发者_开发知识库ow?Check out the UNCAUGHT_ERROR event.

Is it possible to catch ALL exceptions at some top-level in Actionscript 3? If so, h开发者_开发知识库ow?


Check out the UNCAUGHT_ERROR event.

Updating to respond to the comment left by original poster, the event itself is available for both Flash and the AIR 2 runtime:

Language Version: ActionScript 3.0 Runtime Versions: Flash Player 10.1, AIR 2


I don't think it is possible to catch all synchronous and asynchronous events generated by AS3 code in one place.

0

精彩评论

暂无评论...
验证码 换一张
取 消