views:

3222

answers:

2

Hi all,

I have already googled and read a lot of different topics relating to this problem, but still cant solve mine. I have this dynamic text field in a movieclip, and I embeded upper case, lower case and numbers. I exported that movieclip, then used it in my class and it's loading data from xml.

However, after I embedded the bold fonts, it stopped displaying data from xml, if I use regular, it's fine. Then I created a font symbol and add the bold font in the library, it still doesn't give me anything.

Does anyone know how to solve this problem?

thanks.

+1  A: 

The easiest way to fix this problem is to create a set of textfields off screen. Each field will handle the embedding for a single font and weight combination that you need. So, for example, if you need regular, bold, italic and both bold and italic for a single font, they you will have 4 textfields - each with embedding turned on, and the characters you need selected.

Then you can simply turn on font embedding for any other textfield and it will be able to use all four styles (of that font).

Branden Hall
A: 

I assume you are using one of the recent versions of the Flash IDE.

Sounds to me like a conflict. If you have another text field in that Movie with the same font and weight but not set to the embedded font there would be a silent (and annoying) conflict. Solution is to make sure that all the text fields, including static and input are set to the font in the font list with the asterisk i.e. Arial*.

If this doesn’t fix it for you I suggest you should embed the font using the [embed] MXML tag (only cs4). Lee Brimelow has a great video tutorial on this technique you can watch it at gotoAndLearn.

I had some trouble with embedded fonts before and the embed tag fixed it for me. Have a look at my post and see if it helps.

rur