var codeTextField:TextField = new TextField();
codeTextField.embedFonts = true;
codeTextField.autoSize = TextFieldAutoSize.LEFT;
codeTextField.text = "Some text";
// here I use the font name of the timeline textfield to show that suffers the same problem
// as well, however I have tried setting it manually as well i.e. "Font'name"
codeTextField.setTextFormat( new TextFormat( timelineTextField.getTextFormat().font));
addChild( codeTextField);
trace( codeTextField.getTextFormat().font); // traces "Font"
trace( timelineTextField.getTextFormat().font); // traces "Font'name"