I hope someone can help me work this out. I have a form with 4 labels, one to display a word
and three to display possible synonyms, with only one being the correct one. It loads the data from an xml file with content similar to the set up shown below. How can I set it up so I get the choices of answers picked randomly and the correct answer also displayed in a different label each time – also done randomly.
<?xml version=“1.0” ?>
<rNode>
<cNode theWord=“A” theSynonym=“a” />
<cNode theWord=“B” theSynonym=“b” />
<cNode theWord=“C” theSynonym=“c” />
<cNode theWord=“D” theSynonym=“d” />
<cNode theWord=“E” theSynonym=“e” />
</rNode>
All help will be greatly appreciated.
PS Is there a way to embed the content of the xml file in the action script and load it from there?