I am sure the problem is something to do with the compiler arguments, Anyone experienced this before? any suggestions?
Any one paced this problem?
If this post answered your question or helped, please mark it as such.
Setting -use-network=false allows your Flex app to access local files, but not files on the network.
Setting -use-network=true allows your Flex app to access files on the network, but not local files.
That's the sandbox in action, so in general set -use-network=true when posting your app from the bin-release to your web server.
I am using -use-network=false since the SWFthat i am creating, reads xml data in the local file in a directory. From this data I construct the LinkButtons which link to HTTP URLs and/or local HTML Files.
This SWFis embeded in a browser. So basically after I create the SWF file i copy it into the local folder which has a HTML page which uses this SWF. I needed both kinds of access to read from a local file and a LinkButton click which can point to local files or HTTP URLs. Looks like setting -use-network=false doesnot let any HTTP URL accesses to be opened using the navigateToURL ().
Looks like when local or network Sandboxing is used , the fscommand() does not work. Does anyone know how to bring up the option for the Flash Global Security settings page when you click on a external link?? In the global security settings page the user can specify whcich file to use.