# Bold / Italic tags not working in dynamic text field

**URL:** <https://forum.kirupa.com/t/bold-italic-tags-not-working-in-dynamic-text-field/330979>\
**Category:** flash\
**Created:** [April 19, 2013, 9:52pm UTC](https://forum.kirupa.com/t/bold-italic-tags-not-working-in-dynamic-text-field/330979 "2013-04-19T21:52:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiggy1965](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jiggy1965](https://forum.kirupa.com/u/jiggy1965)\
**Post date:** [April 19, 2013, 9:52pm UTC](https://forum.kirupa.com/t/bold-italic-tags-not-working-in-dynamic-text-field/330979/1 "2013-04-19T21:52:27Z")

</div>

This is driving me crazy, cause I know in theory it should work, but it doesn’t.

So I’ve place a dynamic textfield on stage with some fake text which will be replaced. I’ve imported two fonts: Eurocomic Regular and Eurocomic Bold. Gave them an AS-linkage though I don’t think that was necessary.

Added the following script:

```auto
headline_txt.html=true;
headline_txt.htmlText = "<font face='Eurocomic'>This word is <B>BOLD</B></font>";</B>";

```

Which should turn the text inside the headline\_txt textfield into “This word is **BOLD** ”. But it doesn’t. It just shows “This word is BOLD” all in regular plain characters. Tried it with some other fonts too, but they react the same.

Am I missing something here? Shouldn’t it work as I describe it? Other than using stylesheets, creating textfields through actionscript, or setTextFormat, why are my bold tags ignored? And how can I make it work?

Attached the file with the two mentioned versions of the Eurocomic font to play with.
