You can do this with the help of a server-side program, like ColdFusion. You can send the data to the server (via a RemoteObject or WS), and then tell the Flex client to issue a "Download" command. This will let the user open a 'save as' dialog box and save the file. You cannot write to the hard disc programmatically.
You can use SharedObjects to write bits of data to the hard-disc, but they are not user-editable, and the storage location is not customizable. The size of these objects are slightly limited too. -Nick From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of yaagoub.nujaidi Sent: Thursday, September 20, 2007 4:15 PM To: [email protected] Subject: [flexcomponents] Saving to File Does Flex have the capability to save to file whether on the local machine or on the server when it is invoked in a browser? I have written an application that draws dynamically components and was able to generate an XML representation of what had the user drawn, but I want to save the XML into a file on the local machine or server if the application is invoked via the browser. I appreciate any kind of help.
