import fl.text.TLFTextField;
import flash.text.TextFieldAutoSize;
var textFormat:TextFormat = new TextFormat("verdana",12);
for (var i:int; i < 6; i++)
{
var buatText:TLFTextField = new TLFTextField();
buatText.defaultTextFormat = textFormat;
buatText.border = true;
buatText.text = "Ini adalah text field ke- " + i;
buatText.wordWrap = true;
buatText.autoSize = TextFieldAutoSize.LEFT;
buatText.x = 20;
buatText.y = 20+((buatText.textHeight+20) * i);
addChild(buatText);
}
WHAT'S NEW?
Loading...
Loop TextField As3
- Judul : Loop TextField As3
- Penulis : PF studio
- Kategori : Archive
-
Rating : 100% based on 10 ratings. 5 user reviews.
Item Reviewed: Loop TextField As3
9 out of 10 based on 10 ratings. 9 user reviews.
0 komentar:
Post a Comment