=( xml problemo or my retardness problemo?

i need a ----------->:nurse:

hello plz

im so tierd with this realy.
i was following a tutorial that shows how to display xml txt in flash

so groovie i thought to myself
and tried to change somthing
goes like that

this is the xml file highly “simple” supposeably!

<?xml version=“1.0”?>

<inventors>
<person>
<name>xxThomas Edison</name>
<style>Inventor of many things such as the incandescent lightbulb.</comment>
</person>
<person>
<name>boocha</name>
<style>a sweeter kind of dogo</comment>
</person>
</inventors>

this is the FLASH ac command:

function loadXML(loaded) {
if (loaded) {
_root.inventors = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
_root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
_root.inventors2 = this.lastChild.childNodes[0].childNodes[0].lastChild.nodeValue;
_root.comments2 = this.lastChild.childNodes[0].childNodes[1].lastChild.nodeValue;
name_txt.text = _root.inventors;
comment_txt.text = _root.comments;
name2_txt.text = _root.inventors2;
comment2_txt.text = _root.comments2;
//trace(not_set_yet);
} else {
trace(“file not loaded!”);
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(“inventors.xml”);

i made 4 txt fields on the flash stage :
comment_txt
comment2_txt
name_txt
name2_txt

the xml info is showing only the first node and tottaly ignoring the other node-
_root.inventors2 = this.lastChild.childNodes[0].childNodes[0].lastChild.nodeValue;
_root.comments2 = this.lastChild.childNodes[0].childNodes[1].lastChild.nodeValue;

this section isnt working somhow…

i did somting wrong didnt i ???

:chinaman:

i bet T’is my fault!!

bwaAA!!
:stare: