Andreyev_
09.11.2006, 17:59
Подскажите, пожалуйста, что я делаю не так:
this.createTextField("copy_txt", this.getNextHighestDepth(), 0, 0, Stage.width, 50);
copy_txt.autoSize = "left";
copy_txt.embedFonts = true;
copy_txt.wordWrap = true;
copy_txt.text = "Somestuff";
var tralala:TextFormat = new TextFormat();
tralala.font = "FreeSetC (embedded)";
tralala.size = 12;
copy_txt.setTextFormat(tralala);
----
Когда я выполняю этот код, то не получаю ничего, текста нет...
this.createTextField("copy_txt", this.getNextHighestDepth(), 0, 0, Stage.width, 50);
copy_txt.autoSize = "left";
copy_txt.embedFonts = true;
copy_txt.wordWrap = true;
copy_txt.text = "Somestuff";
var tralala:TextFormat = new TextFormat();
tralala.font = "FreeSetC (embedded)";
tralala.size = 12;
copy_txt.setTextFormat(tralala);
----
Когда я выполняю этот код, то не получаю ничего, текста нет...