# Embedding Bold and Italic fonts in a dynamic textfield, Impossible?

**URL:** https://forum.kirupa.com/t/embedding-bold-and-italic-fonts-in-a-dynamic-textfield-impossible/329633
**Category:** flash
**Created:** [September 25, 2012, 9:58am UTC](https://forum.kirupa.com/t/embedding-bold-and-italic-fonts-in-a-dynamic-textfield-impossible/329633 "2012-09-25T09:58:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![friendlygiraffe](https://avatars.discourse-cdn.com/v4/letter/f/df788c/32.png) [@friendlygiraffe](https://forum.kirupa.com/u/friendlygiraffe)
#### Post date: [September 25, 2012, 9:58am UTC](https://forum.kirupa.com/t/embedding-bold-and-italic-fonts-in-a-dynamic-textfield-impossible/329633/1 "2012-09-25T09:58:09Z")

</div>

Hi. I’ve been trying to find a solution to this since Flash got rid of it’s ‘Faux bold’ option in CS3.

Using a basic Arial font. I have embedded, the Regular, **Bold** and _Italic_ versions of the Arial font in my lIbrary.

Here is my code:

```php
exampleTF.htmlText = "regular or <b>bold</b> or <i>italic</i> font."; 

```

I have attached an Fla, CS5

If anyone has a solution to this I would be grateful
