Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

saving text input in variables for later use 1

Status
Not open for further replies.

flashbbeb

MIS
Mar 29, 2005
106
US
I am creating a simulation where users enter data in text input fields, and should see what they entered later on (as in they should see what they entered in a movie clip that displays further in the presentation). How would I implement this without the use of an external text file and server side script?

Thanks!
 
Actually, I looked at an old post where it happened to be you who recommended creating an array of names. From there, I just created dynamic text fields in a later keyframe that brought in the inputted text data. I'll give the Shared Objects method a try, too.

So double thanks for your help on that one!


What I did:

var textitems = [];
stuff.text = new Array();

saveItems.onRelease = function() {
textitems[0] = userName;
textitems[1] = address;
textitems[2] = zip;
}

mover.onRelease = function() {
gotoAndStop("changed");
}

stop();
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top