为什么文字没有变白色呢?
aboutarea.setStyle("backgroundColor","0x993300");
aboutarea.setStyle("textColor", "#ffffff");
System.useCodepage = true;
this.createTextField("area_about", 10, 10, 10, 480, 600);
var about_xml:XML = new XML();
about_xml.ignoreWhite = true;
about_xml.onLoad = function (success:Boolean):Void {
if (success) {
var childItems:Array = about_xml.firstChild.firstChild.firstChild.childNodes;
for (var i:Number = 0; i < 2; i++) {
//if(i<2)
area_about.text += childItems.firstChild.nodeValue;
}
} else {
area_about.text = "Unable to load external file.";
}
}
about_xml.load("about.xml");