Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all articles
Browse latest Browse all 1802

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 1802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>