Is there a way to modify xml document via actionscript? I have bare xml file i.e.
<words>
<word>
<name>this</name>
<title>that</title>
</word>
</words>
I want to add more words on this file via actionscript. Is that possible? If yes, what tag should I look into?
Thanks,
Rex
You can use E4X in ActionScript 3 to modify an XML object.
Here is a great guide to using XML in AS3 Kirupa.com – Using XML in Flash CS3/AS3.
First you will need to load the XML document into your SWF, then you will be able to modify the data. To save it back out, you will need to use a serverside script of some sort as shown here: actionscript.org – Sending XML data from AS3 to PHP.