I am creating a textfield using this code:
window_title = p.createTextField("border"+diepixWindow.NextBorderDepth, p.getNextHighestDepth(), wx1+TITLE_OFFSETX, wy1+TITLE_OFFSETY, ww, 64);
var fformat:TextFormat = new TextFormat();
fformat.font = "TF2 Build";
fformat.size = 36;
window_title.setTextFormat(fformat);
window_title.setNewTextFormat(fformat);
But the problem is, if the client doesn't have the "TF2 Build" font, the font will be Times New Roman.
I would like to know to attach the font to the .swf file.