# Displaying bold text in a dynamic text field fed by an xml file

**URL:** <https://forum.kirupa.com/t/displaying-bold-text-in-a-dynamic-text-field-fed-by-an-xml-file/325745>\
**Category:** flash\
**Created:** [November 2, 2011, 7:56pm UTC](https://forum.kirupa.com/t/displaying-bold-text-in-a-dynamic-text-field-fed-by-an-xml-file/325745 "2011-11-02T19:56:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icekomo](https://avatars.discourse-cdn.com/v4/letter/i/bcef8e/32.png) [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Post date:** [November 2, 2011, 7:56pm UTC](https://forum.kirupa.com/t/displaying-bold-text-in-a-dynamic-text-field-fed-by-an-xml-file/325745/1 "2011-11-02T19:56:53Z")

</div>

I have a dynamic textfield being populated with an xml files’ content. I then have a css stylesheet loaded into format the text. This all works great, but what doesn’t work is the ability to bold some of the words in that text. I have both the regular and bold versions of the font embedded into the swf, I can test out just a bold block of text and it works fine. The css is also working as it will change the size of the text that I tell it to. Everything is working, but for some reason I am not able to get the bolder version of the font to display in the same text box as the regular one. I have also tried to change fonts but had the same outcome.

Thanks for your help!
