# Embedding fonts with multiple styles in CS5

**URL:** <https://forum.kirupa.com/t/embedding-fonts-with-multiple-styles-in-cs5/314929>\
**Category:** flash\
**Created:** [October 12, 2010, 3:49pm UTC](https://forum.kirupa.com/t/embedding-fonts-with-multiple-styles-in-cs5/314929 "2010-10-12T15:49:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leonk](https://avatars.discourse-cdn.com/v4/letter/l/6bbea6/32.png) [@leonk](https://forum.kirupa.com/u/leonk)\
**Post date:** [October 12, 2010, 3:49pm UTC](https://forum.kirupa.com/t/embedding-fonts-with-multiple-styles-in-cs5/314929/1 "2010-10-12T15:49:12Z")

</div>

I’ve searched high and low on the web for an answer to this problem, and I think partly because embedding fonts in Flash is not as simple as first conceived, I’m still struggling.

I’m doing a very simple flash file. Hardly any actionscript.  
I have a textfield, created in the IDE, that I output text to.  
I want to embed a font onto this textfield. Which so far is fine. I’ve embedded the font in my library and associated the textfield with that font.

Now the problem is I want to use a combination of regular and bold style on that textfield. If I remember correctly, in CS4 your embedded fonts could have multiple styles. Now in CS5 each font can only have one style. So I have to choose either regular or bold.

So how do I associate the textfield with both regular and bold styles of font? Is there a way to do this without creating separate textfields?

Thanks
