I created a font symbol in the Library named Arial_embed and I’m applying that to a textfield like so:
private var statusFormat:TextFormat;
private function createStatusBox() {
status = new TextField();
status.wordWrap = true;
status.embedFonts = true;
status.antiAliasType = AntiAliasType.ADVANCED;
statusFormat = new TextFormat("Arial_embed",14,0x000000,false,false,false,null,null,"left");
status.defaultTextFormat = statusFormat;
status.autoSize = TextFieldAutoSize.LEFT;
status.y = stage.stageHeight - 80;
addChild(status);
}
But the text is invisible on the stage - what am I missing here?
(Note that the text will show up if I comment out the embedFonts and antiAliasType lines)