This content has been marked as final. Show 4 replies
If using mxmlc from the command line, I think it's' something like this:
mxmlc -use-network=false MyApp.mxml
If using Flex Builder, I think you right-click on your project, choose Properties, go to "Flex Compiler," and put "-use-network=false" into the "Additional Compiler Arguments" box.
seems this way doesn't fix my error. But I have learned how to set compiler. Thank you.
-use-network=false is usually used to fix sandbox security issues. Generally, when I get an IOError it means that whatever I tried to connect to did not provide a valid response. This can mean that the server rejected your connection, or that the server side code you tried to call failed for some reason.
This is really fixed the sandbox security error little bit, Error #2047: Security sandbox violation. It doesn't show at first time I open the page. (but it still come out after you keep open this page few times).
If the IOError come from server side, it explained why in the tree view, when I open a folder(it calls web services to get data). only certain folders get this error. not every one. So, I need go to look what the web services try to response.