开发者

Handle ActionScript runtime errors

开发者 https://www.devze.com 2023-01-05 01:35 出处:网络
Good day! What is the best\\recommended way of handling runtime errors in AS3? I mean errors that were not catched by try...catch. I\'d like to log such errors and provide some handler to show user s

Good day!

What is the best\recommended way of handling runtime errors in AS3? I mean errors that were not catched by try...catch. I'd like to log such errors and provide some handler to show user some message? May be there are some AS3-specific best practicies?开发者_C百科

Thanks!


Use Flash Player 10.1 and a global error handler.


The best way is providing a patch :D

But until then, your suggestion is probably the best way to go. Present the user with a notification and send a report to your server, or something like that. Depending on the severity of the error, you might want to advice the user to reload.

greetz
back2dos

0

精彩评论

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