Unless your user is also a Flash or Flex dev and has the debugger
player, your users will not see exceptions.  If you know where and why
you get exceptions then it is fine to use try/catch, but otherwise, you
should be glad those few Flash or Flex devs use your software and report
those errors so you can improve your code.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Gaurav Jain
Sent: Friday, February 22, 2008 9:53 AM
To: [email protected]
Subject: [flexcoders] Re: How to turn off exception messages in release
version.

 

try
{
// You code here
}
catch (error:Error)
{
// swallow the error and continue.
}

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "lytvynyuk" <[EMAIL PROTECTED]> wrote:
>
> How to turn off exception messages ( e.g. ActionScript errors ) in
> release version?
>

 

Reply via email to