# Format textfield colors

**URL:** https://forum.kirupa.com/t/format-textfield-colors/69569
**Category:** Uncategorized
**Created:** [November 5, 2004, 11:08am UTC](https://forum.kirupa.com/t/format-textfield-colors/69569 "2004-11-05T11:08:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tizzle](https://avatars.discourse-cdn.com/v4/letter/t/d6d6ee/32.png) [@tizzle](https://forum.kirupa.com/u/tizzle)
#### Post date: [November 5, 2004, 11:08am UTC](https://forum.kirupa.com/t/format-textfield-colors/69569/1 "2004-11-05T11:08:23Z")

</div>

Hi All,

I am trying to format a textField like so:

```auto
		  
  trace(mainButts.labelClip.label.textColor);
 format = new TextFormat();
 format.color = 0xDA4289;
 mainButts.labelClip.label.textColor = 0xDA4289;
 //mainButts.labelClip.label.setTextFormat(format);
 trace(mainButts.labelClip.label.textColor);
  

```

altough the color has changed according to the difference between the results of the first and the second trace the color did not actually change in the flash movie when played.

the setTextFormat was replace with setting it directly since this did not even lead to a reported change of the textColor.

the textfield is dynamically attached to a movie and is filled with text before i change the color.

Any suggestions?
