Catching "Error opening URL"


I’m still really a newbie when it comes to advanced actionscriptness, and I can’t find a solution to this problem anywhere on the internet.

I have an php mail function on a server, I’ve made a little flash .exe that I want to send email from. This all works fine, but when the internet connection is lost I want to be able to catch that error and do something else.

Using “Try, Catch…” doesn’t seem to work and I understand it’s because this is fairly limited. Does any one else know how to solve this one?