Variables, XML, naming help!

Hi Guys, I’m stuck!

I’m trying to do some stuff with XML and variables.
What I’m stuck doing is being able to use the * from an XML file and using this to reference to a variable.

Declare variables:


var myNumber = 0;
var qScore1 = 5;
var qScore2 = 1;
var qScore2 = 3;

Load XML and do calculations:

function loadXML(loaded) {
	if (loaded) {
		allData = this.firstChild.childNodes;
		for (var i = 0; i<allData.length; i++) {
			**[COLOR="Red"]//myNumber += qScore*;[/COLOR]**
		}
	} else {
  		trace("XML file not loaded!");
	}
}

I just need to be able to get this line working (myNumber += qScore*;).

If anyone can help it’ll stop me from tearing ALL my hair out, what I have left!!