I’m loading an external swf into my main swf that has embedded fonts. ie, this is the code in my font.fla:
import flash.text.*;
Font.registerFont(Aachen);
Aachen is the linkage name in the lib. then in my main.fla(one that loads the font.swf), i’m doing this:
t.embedFonts = true;
trace('fname: ’ + Font.enumerateFonts()[0].fontName);
t.setTextFormat(new TextFormat(Font.enumerateFonts()[0].fontName, 29, 0x043F5F));
the trace() always prints out the correct font name but the textField is completely blank.
the font that i want to embed is used throughout the main.fla as static text. if i use any other font for the embed font the text shows for the actionScript above.
so it seems like because the static text uses the same font i want to embed, it’s blocking it. has anyone see this before? solution?
thanks