all groups > flash (macromedia) > november 2005 >
You're in the

flash (macromedia)

group:

Basic input text box question


Re: Basic input text box question Wolf van Ween
11/15/2005 11:10:26 AM
flash (macromedia):
When you say "input text box" you mean a text field, whose "text type" property
is set to "input text", right? Or is it a "text area"?
Anyway, if you haven't done so yet, give this field an instance name, like
"my_txt". You do this in the property inspector, in the field called "<Instance
Name>". Then to set the text displayed to the user or get the text input by the
user, you use the "text" property with this name, like
my_txt.text = "please enter your name here"
or
trace(my_txt.text) // to display the entry in the output window.
In both cases I assume you have created the text field by hand on the main
stage, not inside a movie clip... If you don't understand what that means,
don't bother :-)
Hope that helps
Wolf
Basic input text box question kay
11/15/2005 9:11:04 PM
I've worked out how to create an input text box in mx, but how do I use the
data the user enters in the next frame?


Kay.

AddThis Social Bookmark Button