XML Queries

Hi,

My heart felt thanks for all who are helping out on these forums. Without you guys i would not have been put into the correct platform to think…anyway, i am now starting on XML…i have created a simple XML/Flash file that reads data from a SML sheet, but i noticed that the flash does NOT display numbers from the data. For example if i have test12324, it displays test. That’s all.

The code for it is below…


function loadXML(loaded) { 
if (loaded) { 
//populating the text fields
_root.ftext = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue; 
_root.sectext = this.firstChild.childNodes[1].childNodes[0].firstChild.nodeValue; 
_root.thirdtext = this.firstChild.childNodes[2].childNodes[0].firstChild.nodeValue; 
_root.fourthtext = this.firstChild.childNodes[3].childNodes[0].firstChild.nodeValue; 
firsttext.text = _root.ftext; 
secondtext.text = _root.sectext; 
third_text.text = _root.thirdtext; 
fourth_text.text = _root.fourthtext; 
} else { 
trace("file not loaded!");; 
} 
} 
xmlData = new XML(); 
xmlData.ignoreWhite = true; 
xmlData.onLoad = loadXML; 
xmlData.load("datafirst.xml"); 
 

I don’t know how flash is ignoring the numbers. Does this have to do with any settings of the dynamic update textfield ?