public class Main extends Sprite { public function Main ( ) { var theTextField:TextField = new TextField( ); theTextField.text = "Click here"; theTextField.autoSize = TextFieldAutoSize.LEFT; theTextField.border = true; theTextField.background = true; theTextField.selectable = false; addChild(theTextField);