the third part in the flash and xml series. part 4 coming soon.
var myXML:XML = new XML();
myXML.ignoreWhite=true;
myXML.onLoad = function(sucess) {
if(sucess) {
subjectTXT = this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
fromTXT = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
toTXT = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
messageTXT = this.firstChild.childNodes[0].childNodes[3].firstChild.nodeValue;
xmlBox.text = messageTXT;
toBox.text = toTXT;
fromBox.text = fromTXT;
subjectBox.text = subjectTXT;
}
}
myXML.load("xml/tutex.xml");
plutoamun: you need test data input of txt, you can write your code on here, then i can fix it,hj
hieuhiti 1 month ago
You guys: it's safe to skip 40 - 3:20, probably.
Foaman 2 months ago
I'm getting an 'undefined' message, how can I fix this?
plutoamun 1 year ago
why you didn'y use align command so you didn't wate time aligning
kiresdl 1 year ago
MOOOAAAAR! Part 4! Part 4! Part 4!
simplytosuave 2 years ago
where is part4, i like you tutorial excellent
skydriftmatrix 2 years ago
Hey Brother tienes buenos Tutorials
jairodriguezx 2 years ago
Hey in your next video can you include a way to make a loop to find how many messages you have? Because you won't only have two messages in a real application. Thanks and I hope you consider. =D
Torcherhouse 2 years ago
LOL
PastaNoose 2 years ago
great tuts, but please could you finish the next tuts to xml in flash as i have been waiting for months for the next installment.
fadermusprime 2 years ago