« Flash8でコマンドパネルを作るとき | メイン | リンケージにクラスを割り当てたときの注意点 »
2007年09月04日
[as3] TextInput コンポーネントのTextFormatの設定メモ
import fl.controls.TextInput;
import flash.text.TextFormat;
var itext:TextInput = new TextInput();
this.addChild( itext );
var tf:TextFormat = new TextFormat();
tf.color = 0x666666;
tf.size = 14;
tf.font = "Verdana";
itext.setStyle("textFormat", tf);
投稿者 michi : 2007年09月04日 12:28
トラックバック
このエントリーのトラックバックURL:
http://blog.seyself.com/system/mt-tb.cgi/107