# HTMLText and CS5 (Embedding Texts)

**URL:** https://forum.kirupa.com/t/htmltext-and-cs5-embedding-texts/310875
**Category:** flash
**Created:** [June 22, 2010, 2:57am UTC](https://forum.kirupa.com/t/htmltext-and-cs5-embedding-texts/310875 "2010-06-22T02:57:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![arunforce](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@arunforce](https://forum.kirupa.com/u/arunforce)
#### Post date: [June 22, 2010, 2:57am UTC](https://forum.kirupa.com/t/htmltext-and-cs5-embedding-texts/310875/1 "2010-06-22T02:57:57Z")

</div>

I’ve done my fair share on searching for this, and I couldn’t really find anything about it except CSS related stuff, which is not what I am looking for.

I have a text field on the stage with font Arial, and I embed Arial Regular, Arial Bold, and Arial Italic, and set my font to Font1\* (Arial Regular).

Then I set textfi.htmlText = “\<b\>HI\</b\> YO”;

Now this worked fine in my old Flash program, but it won’t recognize it in the new one.

I simply want to use htmlText with AS2.
