Revision: 39924
Updated Code
at January 23, 2011 00:33 by RubenBristian
Updated Code
//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";
Revision: 39923
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 23, 2011 00:31 by RubenBristian
Initial Code
//create title default sheet var titleStyle:StyleSheet=new StyleSheet(); var titleObj:Object=new Object(); titleObj.color="#"+mainXML.settings.titleDefaultColor; titleStyle.setStyle("p",titleObj); //add sheet to text mcTitle.txtField.styleSheet=titleStyle; //add the text mcTitle.txtField.htmlText="text here";
Initial URL
Initial Description
Initial Title
Default stylesheet for text field
Initial Tags
Initial Language
ActionScript 3