I’m building a website which first loads a library with a
font. The linkage name of that font is font-HelveticaNeueCondensed.
After that I load another swf in which I create a textfield
with createTextField. How can I asign the shared font to
the textfield? (It must also be embedded.)
This is my code but it doesn’t work…
[COLOR=darkblue]
this.createTextField(“my_txt”, 1, 0, 0, 236, 230);
my_txt.embedFonts = true;
my_txt.text = “blabla”;
my_txtFormat= new TextFormat();
my_txtFormat.size = 16;
my_txtFormat.font = “font-HelveticaNeueCondensed*”;
my_txt.setTextFormat(my_txtFormat);
[/COLOR]
thanks