.: Problem Solved :.
Well i just started in XML in flash and i can’t figure out how to get to the data in slide1[see below] i have the first two nodes correct:
_root.main = this.firstChild.childNodes[0].firstChild.nodeValue;
_root.paragraph = this.firstChild.childNodes[1].firstChild.nodeValue;
but i can’t figure out the third node, slides, these are the ways iv’e tried[that failed]:
this.firstChild.childNodes[2].childNodes[0].firstChild.nodeValue;
this.firstChild.childNodes[2].firstChild.nodeValue;
this.firstChild.firstChild.firstChild.childNodes.firstChild.nodeValue;
Here is the XML file[the actual file does not have the labels]
/*firstChild*/<content>
/*childNodes[0]*/<title>Title</title>
/*childNodes[1]*/<main>Main paragraph</main>
/*childNodes[2]*/<Slides>
/*childNodes[0]*/<slide1>Info on Slide 1</slide1>
/*childNodes[1]*/<slide2>Info on Slide 2</slide2>
/*childNodes[2]*/<slide3>Info on Slide 3</slide3>
/*End childnodes[2]*/</Slides>
/*childNodes[3]*/<img>
/*childNodes[0]*/<img1>img1.png</img1>
/*childNodes[1]*/<img2>img2.png</img2>
/*childNodes[2]*/<img3>img3.png</img3>
/*childNodes[3]*/<BGimg>bgimg.png</BGimg>
/*End childNodes[3]*/</img>
/*childNodes[4]*/<SiteUrl>www.70moremartians.com</SiteUrl>
</content>
Thank you for your time.:suppose_maybe:
.:Edit:.
Sorry, i figured it out it was a wrong variable name
.:/edit:.