----- Original Message ----- 
From: "christophe_jacquelin" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 11, 2009 2:34 PM
Subject: [flexcoders] Re: Write to an XML file


> Hello,
>
> It is OK to modify my XML file in the folder source/assets.
I think you mean modify in memory after Flex has read the file.

> But when I leave the application, the xml file is not saved.
Correct.

> It is possible to save the XML file with File but it is for an AIR 
> application.
Correct.

> For a flex application the File class is not available.
Correct.

> How to save the xml files for a flex application ?

You cannot. The closest you can come is saving your XML file on a remote 
server with the aid of a scripting language such as PHP, or similar.

You could do it by turning your flex application to a desktop app by using 
some 3rd party projector technology.

Paul

> Thank you,
> Christophe,
>
>
> --- In [email protected], "christophe_jacquelin" 
> <christophe_jacque...@...> wrote:
>>
>> Hello,
>>
>> How to declare a XML file in an ActionScript function and how to write 
>> data in this XML file ?
>>
>> Thank you,
>> Christophe, 

Reply via email to