Bold and italic HTML text not displaying in a text field with embedded fonts in Flash CS3 Professional

January 10th, 2009 admin Posted in Adobe Flash CS3 Professional 3 Comments »

Let’s say you have a dynamic text field in Flash CS3 Professional in which you’ve embedded the fonts (via the Embed… button on the properties panel). The font style is normal. If you wish to format text applied to the .htmlText property with HTML formating tags (<b>, <i>), you’ll need to also make sure you have additional text fields set to those font styles somewhere on the stage. They can be in an area outside the visible area of the stage. If Flash does not have these additional styles, it will drop that text (or may render it as normal style).


Example:

What you have

Screenshot of dynamic text fields with normal style

What you get

Screenshot of output panel

 

Here’s what you need

Screenshot of mulitple dynamic text fields with fonts

And here’s what you’ll get

Screenshot of output panel

embedded_font_styles_example.zip

AddThis Social Bookmark Button