This may be overkill, but feel free to use the XMLParser class I wrote which
handles a bunch of stuff related to getting XML into and out of Flash
without all the headaches. For example, you can:

- Throw any object at the objectToXML() function and it'll translate it into
XML.

- Use the load() function to load any XML document, parse it into intuitive
ActionScript-friendly objects/arrays, and call a function of your choice
when it's finished.

- Use the sendAndLoad() function to (you'll never guess...) send an object
or XML to a server-side script and get the results, parsing them into
ActionScript-friendly objects/arrays and calling a function of your choice
when it's finished.

Download the class and a simple example at:
http://www.greensock.com/ActionScript/XMLParser.zip

Hope it's helpful.

Jack Doyle


-----Original Message-----
Date: Tue, 17 Oct 2006 12:16:51 -0400
From: Chip Moeser <[EMAIL PROTECTED]>
Subject: [Flashcoders] LoadVars to XML object

Hello All,
I am trying to convert the return string of a loadvars to an XML  
object. Does anyone know a simple way of doing this?
Thanks!




_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to