Hi

Flash Player generates an error that I need to parse though.  It works
great in the Debugger Player, but it does not work in the Consumer
Player.  The Error object does not have a .message in it in the
consumer version of the player.

How can I catch the 'body' of an error in the non - debugger version
of Flash Player 9?

[CODE]
try
{
        browserUrl = ExternalInterface.call("eval", "document.location.href");

}                               
catch (error:SecurityError)
{       
        errorMsg = "SecurityError.errorID: "+error.errorID;
        errorMsg += "\r\n";
        errorMsg += "SecurityError.name: "+error.name;
        errorMsg += "\r\n";
        errorMsg += "SecurityError.message: "+error.message;
}
[CODE]

The code above shows more of the error in the Debugger version then in
the consumer version.  How can I get the WHOLE error message?

thanks

--jason




Reply via email to