# Giving different ContainerControllers different text colors

**URL:** <https://forum.kirupa.com/t/giving-different-containercontrollers-different-text-colors/314705>\
**Category:** flash\
**Created:** [October 6, 2010, 5:46pm UTC](https://forum.kirupa.com/t/giving-different-containercontrollers-different-text-colors/314705 "2010-10-06T17:46:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sabird](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@sabird](https://forum.kirupa.com/u/sabird)\
**Post date:** [October 6, 2010, 5:46pm UTC](https://forum.kirupa.com/t/giving-different-containercontrollers-different-text-colors/314705/1 "2010-10-06T17:46:33Z")

</div>

I’m struggling with setting custom formatting properties on different [FONT=“Courier New”]ContainerControllers[/FONT] assigned to a single [FONT=“Courier New”]TextFlow[/FONT] instance. I can assign different [FONT=“Courier New”]columnCount[/FONT] properties and those display as desired, but other properties such as [FONT=“Courier New”]color[/FONT] seem to be ignored. I have tried this syntax:

```auto
myContainerController.color = 0x00ff00;
myContainerController.columnCount = 2;

```

I have also tried:

```auto
var tlf:TextLayoutFormat = new TextLayoutFormat();
tlf.color = 0x00ff00;
tlf.columnCount = 2;
myContainerController.format = tlf;

```

In both cases, the [FONT=“Courier New”]columnCount[/FONT] is set correctly, but the [FONT=“Courier New”]color[/FONT] is ignored. Is it possible to affect the color of the displayed text? That would seem to be one of the primary advantages of TLF text? Any help would be appreciated. Thanks!
