# Questions about textFormat

**URL:** <https://forum.kirupa.com/t/questions-about-textformat/188500>\
**Category:** Uncategorized\
**Created:** [May 8, 2006, 3:26pm UTC](https://forum.kirupa.com/t/questions-about-textformat/188500 "2006-05-08T15:26:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kapstan](https://avatars.discourse-cdn.com/v4/letter/k/d26b3c/32.png) [@kapstan](https://forum.kirupa.com/u/kapstan)\
**Post date:** [May 8, 2006, 3:26pm UTC](https://forum.kirupa.com/t/questions-about-textformat/188500/1 "2006-05-08T15:26:48Z")

</div>

hi,  
I am trying to apply a textformat to a dynamic textfield. i defined the format as follows:

```auto

var fmt_AboutUs_Process:TextFormat = new TextFormat();
fmt_AboutUs_Process.color = 0x0085BA;

```

I then applied the textFormat as follows:

```auto

_level0.txt_Headline.setTextFormat(fmt_AboutUs_Process);

```

but the color in the textfield is not changing.

the textfield’s html property is true and i’m assigning the text from an XML source using textfield.htmlText

what am i doing wrong?
