/ Published in: ActionScript 3
Expand |
Embed | Plain Text
//create title default sheet var defStyle:StyleSheet=new StyleSheet(); var styleObj:Object=new Object(); styleObj.color="#"+"FF0000"; defStyle.setStyle("p",styleObj); //add sheet to text txtField.styleSheet=defStyle; //add the text txtField.htmlText="text here";
You need to login to post a comment.
