Maybe i get you wrong, but maybe |nodeValue:String is, what you are looking for.
Give the manual a chance - search for XMLNode

greez,
dr.ache



|Teresa Hardy schrieb:
I thought this was really basic and easy but I just can't find the syntax to do it. All I am trying to do is update one nodeValue from the swf to the xml
based on which button is selected. I don't want to make a new node, just
update the <theme> that exists. The reading part listed below works fine. I
just can't figure out how to write TO a specified child node and all the
documentation has me totally confused. I am starting to wonder if I have to
.removeNode and recreate it....I still don't have the syntax.

Thanks in advance. I have been learning a huge amount from listening to all
the conversations here as I teach myself ActionScript!

Teresa

my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.load("setup.xml");
my_xml.onLoad = function(success) {
   if (success) {
       sessionInfo_xml = my_xml.firstChild;
       children = sessionInfo_xml.childNodes;
       folderName = children[0].firstChild.nodeValue;
       maxImages = children[1].firstChild.nodeValue;
       domainName = children[2].firstChild.nodeValue;
       searchSubject = children[3].firstChild.nodeValue;
       theme = children[4].firstChild.nodeValue;
   } else {
       trace("XML error");
   }
};
_______________________________________________
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


_______________________________________________
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