Hi guys I am working on a quiz/survey in flash where all the questions, answers and values etc are stored in an external XML file. I thought I could save a bit of time by using radio button components but I'm not sure how I can set the label value of this component to be read as a variable so that it will load the proper 'answer' for the question.
So for example I am declaring my variable using something like this when the XML is read:
answer1 = xmlDoc_xml.firstChild.firstChild.nextSibling.firstChild.nextSibling.firstChild.nodeValue;
but how do I tell the component to use answer1 as the label so my text will show up next to the radio button properly. If I'm not being clear enough let me know and if you can help me out on this thanks very much.