0 Replies Latest reply on Mar 4, 2015 11:21 AM by Maxpower781809

    How to create an imput text in an action script project in Flash Builder

    Maxpower781809

      Hi, I am developing a game with starling framework.This is going to be an android game. What I'm trying to do is that when the game ends, the user can save his score and I want to create a form for this. How can I create a text entry field where you can enter your name for example?


      I've trying with this code, but doesn't works:


      var inputField:TextField = new TextField();

      addChild(inputField);

      inputField.border = true;

      inputField.width = 400;

      inputField.height = 50;

      inputField.x = 75;

      inputField.y = 50;

      inputField.type = "input";

       

      But flash Builder doesn't recognize the "type" value.



      Thank You.