Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4625422
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:16:11+00:00 2026-05-22T03:16:11+00:00

So I am creating a module and I have a screen that I need

  • 0

So I am creating a module and I have a screen that I need to be able to allow the users to write questions that they have on their screens in a text box. Does anyone know how to do this?

This is the basic setup that I use for every screen:

package screens
{

import flash.filters.*;
import flash.text.*;
import mapSystem.screenSystem.*;
import mapSystem.*;
import screens.*;
import caurina.transitions.Tweener;



public class screen4 extends screenBase
{


       public function screen4(pSystem:mapManager)
       {
             super(pSystem);
             numActions = 1;

       }



     public override function onAction()
      {
             if (actionStep == 1)
             {
                   map.fID("54");
             }
       }


       public override function onEnter()
       {
             map.zoomTo("full");
       }
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T03:16:12+00:00Added an answer on May 22, 2026 at 3:16 am

    For users to input text, simply create a textfield and set its “type” property to TextFieldType.INPUT. When you go to retrieve this data, just access the textFields “text” prop.

    • Update –

    Ok = simple google search on “AS3 textField tutorial”, first hit was this tutorial, which I yanked and added a couple things to for you. Its fairly basic and well documented, so, depending on your level of experience, should prove illuminating.

    //Creating the textfield object and naming it "myTextField"
    var myTextField:TextField = new TextField();
    
    //Here we add the new textfield instance to the stage with addchild()
    addChild(myTextField);
    
    //Here we define some properties for our text field, starting with giving it some text to contain.
    //A width, x and y coordinates.
    myTextField.text = "input text here";
    myTextField.width = 250;
    myTextField.x = 25;
    myTextField.y = 25;
    
    
    //@b99 addition
    myTextField.type = TextFieldType.INPUT;
    
    
    //This is the section for our text styling, first we create a TextFormat instance naming it myFormat
    var myFormat:TextFormat = new TextFormat();
    
    //Giving the format a hex decimal color code
    myFormat.color = 0xAA0000; 
    
    //Adding some bigger text size
    myFormat.size = 24;
    
    //Last text style is to make it italic.
    myFormat.italic = true;
    
    //Now the most important thing for the textformat, we need to add it to the myTextField with setTextFormat.
    myTextField.setTextFormat(myFormat);
    

    Hope that helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a module that is used by creating a custom class loader. The
Picture this: you are creating a little module that people can incorporate into their
I'm creating a module that let's your users add feeds. So i want my
I'm creating an admin module for my client that gives them access to some
In Magento I'm creating a custom module and would love to be able to
I have a Drupal module creating a page via hook_menu(). I am trying to
I am creating a module that needs to tag nodes with taxonomy terms when
I'm creating a module that let's you define some extra options for categorys in
I have a module that builds an app called MyApp. I have another that
Typically I create a plugin when I have a module that I know I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.