I load my xml in and output book1_title to a textbox and it works fine. When I tilt the text box the text won’t show up. I used embedded fonts with the html button selected but still doesn’t work. Any ideas? (Another thread mentioned something about toString but I don’t know how to do that.)
var myXML:XML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = processXML;
myXML.load("bookcase3.xml");
function processXML(success:Boolean):Void {
if (success) {
//displaying the root node name
var RootNode:XMLNode = this.firstChild;
book1_title = RootNode.firstChild.childNodes[0].childNodes[0].nodeValue;
}
else {
trace ("Error loading XML file")
}
}