Colourful dynamic textfield

Is there a way to create a multi-color dynamic textfield?
I have heard of using the .html which is something like that

<b>some words</b> 

for bold, it works
but why when i used

<FONT color=#0000CC> some words </FONT>

it won’t works?
Can someone help me pls?
Coz in one dynamic textfield, i want multi-color text.
Thanx a lot!

Have you checked the “html” checkbox in the properties-dialogue?
If so, try to use this code:

myTextField.htmlText=(“The name of your text file”);

-M

myTextField.htmlText = "<FONT color='#0000CC'>some words</FONT>";

Or that, yes. :thumb:

-M

oh i know what’s my problem! I forgot to put ’ ’ for the color! Thanks kax and LilleMartin!

no problem. :wink: