PDA

View Full Version : Storing Information


Ferret
04-15-2007, 03:09 PM
I have no idea where to even start. I want to make a program where the variables in Flash will be saved to some... database I guess, and I can call the variables up again when the program is re-started, so the user's information is saved. Like if the guy typed his name in as "Bob" and it was saved as variable "name." I want that variable to still be Bob even if he closes the program and starts it up again. How would I do this?

Noct
04-18-2007, 06:46 PM
That'd be done with shared objects.
There are tuts for it everywhere, here is a few:

http://www.adobe.com/support/flash/action_scripts/local_shared_object/
http://www.permadi.com/tutorial/flashSharedObject/index.html
http://www.flashvalley.com/fv_tutorials/using_shared_objetcs_in_flash/