View Full Version : change font color in html textfield
Does anyone knows if it's possible to change the font color on a txtfield in flash using html tags ?
I've tried but nothing happened..
thanks
Mortimer Jazz
04-04-2003, 11:27 AM
yes.
Make sure you've set the dynamic field to be HTML then, type your HTML as a string and use the backslash to ignore quotes within the string:
myTxt.htmlText = "<font color=\"#0000FF\">Hello Mum</font>";
If you are using Flash 5 then use something like
myVarName = "<font color=\"#0000FF\">Hello Mum</font>";
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.