Handle ActionScript runtime errors
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
精彩评论