This content has been marked as final. Show 4 replies
I'm not sure I understand your question. By download I would normally understand transfer from the server to the client, but you say don't want it on the server. I assume you're generating something in your flex application and want to write it to the filesystem?
If so, then no - Flash player cannot access the local filesystem. If you're just wanting to save it for later access from Flash, use the SharedObject class (see doc).
right. i want to write the generated string to the filesystem (the user can select the filename).
Now i have written a webservice which i want to call from my flex app to save the generated string on a server. Then i could call FileReference.download(URL) to let the user save the generated file to his local drive.
i can't even call a webservice when starting the app from my local file system
Is there any flags to change this security behaviour?
I think that if you add a crossdomain.xml file to your server it will solve your problem. See chapter 4 of the "Building and Deploying Flex 2 Applications".