Hi, I have my text in an xml file, using html text/CDATA, and in my flash file I have this code:
function LoadXML(e:Event):void {
xmlData = new XML(e.target.data);
mytxt.htmlText = xmlData.myXMLText.text().split("\r").join("");
var css = new StyleSheet();
css.setStyle("a:link", {color:"#CCCCCC"});
css.setStyle("a:hover", {color:"#999999"});
css.setStyle("h1", {fontSize:"23", color:"#000000"});
mytxt.styleSheet = css;
trace(xmlData);
The links are working fine.
But when I try to make sentences within a <h1> tag in xml, nothing happens.
What do I do wrong??