Skip to main content
Inspiring
April 19, 2017
Answered

Mini database Input user history

  • April 19, 2017
  • 1 reply
  • 673 views

Hello users, I am having a question about creating a mini local database with the 'SharedObject.getLocal' function. But I do not know if it is possible to load more than one information in textfield, only one ...

My goal is to create a textfields input to the user by the CPF, name and age, to create a sort of "user record".

And then a textfield to by only the CPF to pull the information recorded above (name and age).

Could anyone tell me if it is possible using only AS3, and a base associated with the theme?

Thank you very much in advance!

Exemple:

Frame One

[        ] Input CPF

[        ] Input Name

[        ] Input Age

Frame Two

[        ] Input CPF to pull the user data registered in frame one

This topic has been closed for replies.
Correct answer kglad

Do not you have some video lesson, some link with the subject in XML? How can I be using it for learning?


you can use google to search for tutorials.  there are many.

start with some basic info and then once you understand the structure of xml files, you can google flash pro and xml, or animate cc and xml for info on how to create, save, edit and append data to xml files.

1 reply

kglad
Community Expert
Community Expert
April 20, 2017

what's cpf?

there's no need to use a sharedobject, if you're using data entered in frame 1, in frame2.  you would use a sharedobject if you want to populate the frame 1 textfields with data entered during a previous session.

vvvverTAuthor
Inspiring
April 20, 2017

So it's not possible?

> Enter a sequence of numbers and information, save them in a "mini database"

> Then enter the same sequence and pull out that information that has been added.

In case several people would add their number, and a little information in that frame. And then, I could pull this information by typing just the person's number.

How could I do that?

kglad
Community Expert
Community Expert
April 20, 2017

that would need to save data on a server.  you could use full sql database or you could use an xml file.