I use a lot of font types that people don’t normally have installed, so I embed the fonts in Flash. Only, now I tried with actionscript and CSS to make part of a dynamic text field bold. Only, the bold part of the text field wouldn’t show, the text would just not be there.
So, then I found out that when you embed a font in Flash, flash doesn’t include the whole font family automatically. Meaning, that by embedding a regular font, the bold and italic aren’t included.
A workaround for this, is to just add another text field to your stage, somewhere out of sight (or not), and embed the same font type but with bold activated. Run your flash file again and you’ll see that the bold in your other text field is now visible too.
See also: Flash Technote: HTML text fields do not display formatted text


Tnx!
Thanks so much, spent like 30 minutes trying to figure this out, what a life saver!
Thank you! What a relief to find this.
i’ve used this fix, but i have another problem… if i use bold or italic embed fonts then i can’t use gotoAndPlay or gotoAndStop(frame) – it doesn’t work… if i disable embedding fonts then gotoAndPlay works again. How can i fix it?
I love You!
Thanks! Ran into this problem & it left me scratching my head
What a simple solution. I’ve been looking at device fonts and complicated coding just to be able to do this simple task. I would never have thought about adding in a second text box.
Thank you very much.