Hi,
I am trying to load text externally, and turn into a pixel font, but the font doesn’t show, only a deafult font,
The code I use is:
this.createTextField(“txt”, 1, 420, 140, 300, 300);
embedFonts = true;
txt.multiline = true;
txt.wordWrap = true;
loadVariables(“tekstje.txt”,“_root”);
txt.variable=“a”;
var fmt:TextFormat = new TextFormat();
fmt.font =“FFF Reaction Trial”;
fmt.size = 8;
txt.setTextFormat(fmt);
Is there something missing or wrong?
thanks again,
Jerryj.