[RESOLVED] XML Tree question
Hi, I had a question which relates to loading a complex XML file into flash.
Lets say I had an XML file which looked like this:
PHP Code:
<data>
<flower>
<info name="blah" id="001" desc="/gfx/blah.png" />
<info name="blah2" id="002" desc="/gfx/blah2.png" />
</flower>
<animal>
<info name="dog" id="046" desc="/gfx/dog.png" />
</animal>
</data>
How would I specify the level which contains the "blah2" info?
How would I specifiy the level which contains the "dog" info?
What I mean by this is do I say "this.firstChild.childNodes" or... this is the part I am confused by. I do not understand how to tell flash where to look for info when it loads the xml file.
Let me know if you need clarification. Thanks in advance, - Peter