Reputation: 543
I'm working on an image gallery application. Very frequently I'm getting Sandbox violation Error like Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
. Some times its raising by cleaning the project. Every time I'm using my application's backup and updating and then the error is raising. Though I'm accessing local image files, getting error. I'm using try-catch to catch the location but no use. How to get rid of this problem. Any help is appreciated.
Upvotes: 0
Views: 442
Reputation: 14221
About loading local images. You should check and fix Flash Player trust file for your SWF as described here. Flash Builder done it automatically but who knows…
About problem with loading images in web it can be problem related to loading images from other domain which hasn't proper crossdomain.xml
file. If so you should use some kind of proxy on your server.
If you're loading files from your own domain maybe this deployment checklist can help you. Also you can use some debugging proxy like Charles to see the real queries and responses.
Upvotes: 1
Reputation: 1885
If u Clean the project It Will remove all your assets files in the bin-debug folder and it will be recreated during the Build.Some times the build wont creates the file properly i think that time you are getting the error.
At most avoid cleaning.It may also happens by the out dated flash player version.
It may also happens by the following ways,
Check one of the option and Comment is must.
Upvotes: 2