Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Mini database Input user history

Explorer ,
Apr 19, 2017 Apr 19, 2017

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

TOPICS
ActionScript
611
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 20, 2017 Apr 20, 2017

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.

Translate
Community Expert ,
Apr 19, 2017 Apr 19, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 19, 2017 Apr 19, 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2017 Apr 20, 2017

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 20, 2017 Apr 20, 2017

I do not think it will help me, but thanks for the attention!

I have no experience with SQL and I do not know the XML extension, I'll check.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2017 Apr 20, 2017

you're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 20, 2017 Apr 20, 2017

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2017 Apr 20, 2017
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines