Font and color for dynamically loaded text

hey, i know this is a dumb basic question, BUT…how can i have different fonts size, colr and style in a dynamically loaded text box using flash MX???
a hearty cheers to anyone that can help
-pithcell

Set it as HTML text and then use the usual HTML tags.

pom :cool:

or use the TexFormat object, you could do something like this:

format1 = new TextFormat();
format1.size = “16”;
format1.color = “0xrrggbb”;
texField1.setTextFormat(format1);

you can use many properties of the TextFormat, consult the actionscript dictionary for more details.

richie, and ilyaslamasse
thanks for the answers!!
came in handy and sloved the situationes
much love
the pcell