Flash and information persistence - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Design (/forum-5.html)
+--- Thread: Flash and information persistence (/thread-2984.html)
Flash and information persistence - Zekaric - Oct 19, 2007 10:18 AM
I haven't delved too far into Flash. Actually I'm just playing with it at the moment. I'm just curious, since it's web based, what is generally the most common way of storing user specific information? Let's assume it's not a multiplayer environment or game just yet. Just a simple game, wanting to store last level reached, highscores and the like.
Flash and information persistence - Najdorf - Oct 19, 2007 11:40 AM
You can store data on the user's computer if he lets you (by default he is asked if he lets you or not). I'm not sure about the details.
Flash and information persistence - ThemsAllTook - Oct 19, 2007 11:40 AM
You could use SharedObjects for limited local storage, or you could communicate to a web server and store user data remotely.
Flash and information persistence - Zekaric - Oct 19, 2007 12:05 PM
I must be missing something fundamentally simple then. Being inside a browser usually prevents you from playing with the local file system. Unless you set a cookie or something like that. I'll have to hunt around some more in the doc to see how things are done.
Web server and or database (on web server or somewhere non local) came to mind initially. Added complexity though.
Flash and information persistence - ThemsAllTook - Oct 19, 2007 01:29 PM
Zekaric Wrote:Unless you set a cookie or something like that.That's essentially what a SharedObject is.