I am having some trouble getting an embedded font to be accessible by TextField3D.
The font works fine with a normal TextField when used in a TextFormat object.
The embed takes place as follows:
[Embed(systemFont=“Arial”,
fontName = “myFont”,
mimeType = “application/x-font”,
fontWeight=“normal”,
fontStyle=“normal”,
advancedAntiAliasing=“true”,
embedAsCFF = “false”)]
private var myEmbeddedFont2:Class;
and TextField3D is called as…
var markerArrowText:TextField3D = new TextField3D(“myFont”);
At runtime, the debug output shows:
“ERROR: missing myFont font”
Anyone got any suggestions for a fix?