• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

New Here ,
Mar 04, 2015 Mar 04, 2015

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.

Views

307

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines