Topic: XML and Flash (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=11143" title="Pages that link to Topic: XML and Flash (Page 1 of 1)" rel="nofollow" >Topic: XML and Flash <span class="small">(Page 1 of 1)</span>\

 
kernel_kumar
Obsessive-Compulsive (I) Inmate

From:
Insane since: Feb 2004

posted posted 02-03-2004 10:32

Hello,
I'm stuck up with a problem.
I want to save changes in the XML document
that i make from Flash.
Plz it's urgent

smonkey
Paranoid (IV) Inmate

From: Northumberland, England
Insane since: Apr 2003

posted posted 02-03-2004 17:43

you can't

flash is predominently client side and an xml it reads is presumably on your host server (server side) the only way flash can write something back to the xml file is with a serverside script - something written in php or asp maybe.

I can't solve this issue for you - but do some googling and you'll find something I'm sure.

<A HREF="http://www.cryokinesis.co.uk" TARGET=_blank>visit

Cameron
Bipolar (III) Inmate

From: Brisbane
Insane since: Jan 2003

posted posted 02-03-2004 20:19

Yup, you'll want a server side script to do that for you.

The easist way to do this is to use a LoadVars() object to send the data to a server side script that'll wtite that information into a file on the server for you.

Use the xmlObject.toString() method to set the XML data as a stringe variable in the LoadVars() object. Don't try sending XML data to a server side script directly, that'll only cause you lots of headaches.

Hopefully that'll get you started.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu