uncaught exception: Error in Actionscript. Use a try/catch block to find error.

In this case the error was mentioned in the Firebug console.

The solution, in this case, was to put the same files on the server or localhost.




Obviously, add a try catch block around the code that you are calling will give better error message.

Typically, this is caused by cross domain issues. This was the error generated with this message:

*** Security Sandbox Violation ***
SecurityDomain ‘null’ tried to access incompatible context ‘file:///Applications/MAMP/htdocs/project-debug/project.swf’

About Judah

Please note in the comments if this has helped you or not.
This entry was posted in Flex, Runtime, Security Error. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Highlight your code before posting code:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="">