var exampleTextField:TextField = new TextField();
exampleTextField.text = "your text goes here";
exampleTextField.width = 200;
addChild(exampleTextField);
exampleTextField.autoSize = TextFieldAutoSize.LEFT;
var format:TextFormat = new TextFormat();
format.color = 0x990000;
format.size = 20;
exampleTextField.setTextFormat(format);
Welcome to my actionscript snippet library!
Actionscript Snips is a small repository of actionscript code that aims to save developers and designers time when developing a website.
Create Dynamic Textfield
Posted by
admin
on Saturday, August 1, 2009
Labels:
Textfield
0 comments:
Post a Comment