jasonsalas
IS-IT--Management
Hi everyone,
I'm working with an XML structure and trying to get the data passed into a dynamic text box in a Flash MX movie. The XML looks like this:
<?xml version="1.0"?>
<primary>
<race>
<candidate>
<name>JOHN DOE</name>
<votes>123456</votes>
</candidate>
<candidate>
<name>JANE DOE</name>
<votes>456789</votes>
</candidates>
<!-- MORE CANDIDATES HERE -->
</race>
<!-- ADDITIONAL RACES HERE -->
</primary>
I've tried using the tutorial from FlashKit at and I essentially want to do the same thing, but my XML structure is one node level deeper than used in the tutorial.
I know this has something to do with my branching logic (for loops, or another if... statement), or the way I'm working with the XML object model for ActionScript.
Got any ideas?
I'm working with an XML structure and trying to get the data passed into a dynamic text box in a Flash MX movie. The XML looks like this:
<?xml version="1.0"?>
<primary>
<race>
<candidate>
<name>JOHN DOE</name>
<votes>123456</votes>
</candidate>
<candidate>
<name>JANE DOE</name>
<votes>456789</votes>
</candidates>
<!-- MORE CANDIDATES HERE -->
</race>
<!-- ADDITIONAL RACES HERE -->
</primary>
I've tried using the tutorial from FlashKit at and I essentially want to do the same thing, but my XML structure is one node level deeper than used in the tutorial.
I know this has something to do with my branching logic (for loops, or another if... statement), or the way I'm working with the XML object model for ActionScript.
Got any ideas?