# MX - Font text color not working

**URL:** <https://forum.kirupa.com/t/mx-font-text-color-not-working/26719>\
**Category:** flash\
**Created:** [July 25, 2003, 5:48pm UTC](https://forum.kirupa.com/t/mx-font-text-color-not-working/26719 "2003-07-25T17:48:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![liors](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@liors](https://forum.kirupa.com/u/liors)\
**Post date:** [July 25, 2003, 5:48pm UTC](https://forum.kirupa.com/t/mx-font-text-color-not-working/26719/1 "2003-07-25T17:48:21Z")

</div>

Hi guys,

I created a text box with dynamic text, and I want some words of the text to be colored. However, it doesn’t seem to be working. I have other text boxes where the text is one color, and that works fine, but I can’t get it to work on this case.

I tried embedding all fonts from the character, but got nothing. Is there a step that I’m missing?

Thanks,

Lior

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 25, 2003, 8:00pm UTC](https://forum.kirupa.com/t/mx-font-text-color-not-working/26719/2 "2003-07-25T20:00:45Z")

</div>

You can use something like this:[AS]myText.html = true;  
myText.htmlText = “\<font color = ‘#336699’\>BLUE \</font\>\<font color = ‘#990000’\>RED\</font\>”;[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 25, 2003, 8:04pm UTC](https://forum.kirupa.com/t/mx-font-text-color-not-working/26719/3 "2003-07-25T20:04:30Z")

</div>

If you don’t want to use ActionScript, just make sure that **Render text as HTML** (the little \<\> button) is checked in the Properties Panel.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 4:14pm UTC](https://forum.kirupa.com/t/mx-font-text-color-not-working/26719/4 "2003-07-29T16:14:11Z")

</div>

I tried that render as HTML, but then the text doesn’t come out as crisp as I want it to…Is there nothing else that I can do?

Thanks,  
Lior

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 4:48pm UTC](https://forum.kirupa.com/t/mx-font-text-color-not-working/26719/5 "2003-07-29T16:48:58Z")

</div>

Ok, so the actionscript worked great. It’s just a pain that it has to be done that way.

Thank you very much 🙂

Lior
