Copy link to clipboard
Copied
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.