Hi folks,
Been playing around with this tutorial:
http://www.kirupa.com/developer/actionscript/textfield.htm
It works great, but I can’t figure out how to change the font in the textbox using an embedded font.
I imported a new font into the library and named it “marriage”. I also selected the export options. But the following doesn’t work as expected:
format = new TextFormat();
format.font = “marriage”;
tfield.setTextFormat(format);
Is there something else I need to do to use an embedded font? My eventual goal with this is to create a drop down menu with several fonts in it that people can use to change the font face in the text field.