Making a User Input Field : Input Field « TextField « Flash / Flex / ActionScript






Making a User Input Field

 
package {

  import flash.display.Sprite;
  import flash.text.TextField;
  import flash.text.TextFieldType;
  
  public class Main extends Sprite {
    public function Main(  ) {
      var field:TextField = new TextField(  );
      field.type = TextFieldType.INPUT;
      field.border = true;
      field.background = true;
      addChild(field);
    }
  }
}

        








Related examples in the same category

1.Formatting user input