# Using htmlText in TextFields

**URL:** <https://forum.kirupa.com/t/using-htmltext-in-textfields/280793>\
**Category:** Uncategorized\
**Created:** [February 1, 2009, 12:45am UTC](https://forum.kirupa.com/t/using-htmltext-in-textfields/280793 "2009-02-01T00:45:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![riveroaks](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Post date:** [February 1, 2009, 12:45am UTC](https://forum.kirupa.com/t/using-htmltext-in-textfields/280793/1 "2009-02-01T00:45:31Z")

</div>

I’m loading content from a text file into a text field in Flash. In that text file I have some simple html tags like \<b\>, \<i\>, and \<img\>.

I’m setting the textfield as html text:  
myTextField.htmlText = myContent

The img tags work fine, but for some reason the bold and italics are not displaying…the tags are being correctly stripped from the text, but there is no bold or italic text. I’m embedding all the characters I need, but do I need to somehow embed the bold/italics versions of those characters?

Thanks.
