I've been trying to change text colour and fontsize for a TextArea object via
actionscripting.
Anyone had any success in getting the Macromedia examples to work? :
mytextArea.setStyle("color","red");
and
// Create the new StyleSheet object.
var my_styles:TextField.StyleSheet = new TextField.StyleSheet();
my_styles.setStyle("html", {fontFamily:"Arial,Helvetica,sans-serif",
fontSize:"12px", color:"#0000FF"});
my_styles.setStyle("body", {color:"#00CCFF", textDecoration:"underline"});
// Set the TextAreaInstance.styleSheet property to the newly defined
// styleSheet object named styles.
mytextArea.styleSheet = my_styles;
mytextArea.html = true;
are not working at all. perhaps I'm missing a step somewhere?
I also tried prepending and appending HTML and BODY tags
to the text but that didn't work either.
Any help appreciated.
Thanks.
---------------------------------
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel
bargains._______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org