I understand Actionscript 2.0, Flash, and how XML works.
I don't understand how to pull information from an XML document correctly.
I'm confused about what firstChild and childNodes mean. I have some understanding of the attributes keyword using Actionscript, as well as nodeValue and nodeName. I understanding that childNodes is an array and can refer to children in an XML doc, but that's where I'm confused.
I don't know how to structure my code properly to pull/parse XML data.
Attached is a snippet of my XML doc.
I also attached what I think is how Flash reads my XML doc with firstChild, childNodes, etc.
<card1_front height="100" y="-20">Turner Field</card1_front>
<card2_front height="120" y="-40">Pro Player Stadium</card1_front>
<card3_front height="120" y="-40">Comisky Park</card3_front>
<card1_back height="120" y="-40">Braves</card1_back>
<card2_back height="120" y="-40">Marlins</card2_back>
<card3_back height="120" y="-40">White Sox</card3_back>
<main_text>Welcome to the flashcards example.</main_text>
<instructions_text>Click each Flashcard to proceed through the exercise.</instructions_text>