You can use XML Shortcuts.

See http://www.shockwave-india.com/blog/?archive=2005_07_10_archive.xml#112109983951386082 for more info

Regards,
Arul

----- Original Message ----- From: "Sean Tamblyn" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 15, 2006 5:41 AM

I've been looking for a way to modify XML nodes in Flash MX via standard
dot syntax.  Tatsuo Kato's functions
(http://tatsuokato.com/flash/XMLNodeEasyAccess.as) do a wonderful job of
letting one read XML nodes with unique IDs via standard dot syntax, but
there doesn't seem to be any way to modify those nodes.  I.e:

trace(myXML.nodeA.nodeB.firstChild.nodeValue);

returns the expected value but

myXML.nodeA.nodeB.firstChild.nodeValue = "newNodeValue"

doesn't do anything at all.

Anyone have a nice way of modifying XML nodes by standard dot syntax in
Flash MX?

_______________________________________________
[email protected]
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