Anonymous
public text v1 · immutablevar my_fmt:TextFormat = new TextFormat();
my_fmt.color = 0xFF0000;
// my_fmt.font = "Albertus";
my_fmt.font = "DucDeBerry";
var cn = this.createTextField("cn", this.getNextHighestDepth(), 150,0, 300,300);
cn.html = true;
cn.embedFonts= true;
cn.wordWrap = true;
cn.multiline = true;
cn.setTextFormat(my_fmt);