|
-
How do you get input text to be displayed on your screen without creating buttons?
I'm creating a quiz application using Flash CS3, but it's been such a long time since I've used ActionScript and I'm a little bit stuck.
I've created an input text box in the first frame of my quiz program. A person will enter their name into this text box (which I've called "nameInput") and then click the next button to proceed through the quiz.
However, when I get to the results page I cannot figure out how to get the input name to be displayed automatically in the dynamic text box (which is called "nameOutput") when the user enters the frame.
Could someone help me out please?
-
FK'n_dog
give all textfields instance names (Var: is so out of date)
when you click the button assign a variable -
nameVar = nameInput.text;
on the results page -
nameOutput.text = nameVar;
-
That worked a treat! Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|