テキストフィールドのフォーマットの変更。
import flash.text.TextFormat;
var newFormat:TextFormat = new TextFormat();
newFormat.size = 18;
newFormat.color = 0xFF0000;
tf.text = "テキスト";
tf.setTextFormat(newFormat);
↑テキストフィールドに文字が入った状態でフォーマットを適応する事[setTextFormat]
import flash.text.TextFormat;
var newFormat:TextFormat = new TextFormat();
newFormat.size = 18;
newFormat.color = 0xFF0000;
tf.text = "テキスト";
tf.setTextFormat(newFormat);
↑テキストフィールドに文字が入った状態でフォーマットを適応する事[setTextFormat]