artvolk
artvolk

Reputation: 9518

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?

Thanks!

Upvotes: 0

Views: 267

Answers (2)

splash
splash

Reputation: 13327

Use Flash Player 10.1 and a global error handler.

Upvotes: 1

back2dos
back2dos

Reputation: 15623

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

Upvotes: 0

Related Questions