Copy link to clipboard
Copied
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
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
that would need to save data on a server. you could use full sql database or you could use an xml file.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
Do not you have some video lesson, some link with the subject in XML? How can I be using it for learning?
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now