-
[MX04] Not exactly a newbie... but I'm still stumped
I am interested in having a Flash program on a website that multiple people can use... and the variables in it won't change if you leave or refresh the page. In other words, when you or another person comes back to that program, everything will be the same as when you left it. Is there a way to do this?
-
Developing For Dunkets
well, if you need users to have settings that will be safe or you need to save a lot of data like here at FK then you'll need a database like mySQL and some php or asp to write to and read from the database. You'll also most likely require that users logon so that they can get to those settings from any computer.
-
The only thing I need to stay the same is the flash program - nothing else on the website. the flash program will be the only thing on the website, so nothing outside the flash program matters. I just need you to be able to come back to that program and have everything be the same. Like saving your game.
And forget I said anything about multiple users. Pretend it was just one person who needed to come back to the saved "game".
-
Developing For Dunkets
You've really only got two choices for doing this.
1) You use sharedObjects and save variables to a users local machine.
Positives: Easy to use, only requires flash, is secure from other users,doesn't require a login/password type setup
Negatives: can only be saved to a users machine. Anything saved on one computer cannot be accessed on another computer.
2)MySQL and another language like PHP or ASP.
Positives:Access to saved info from any computer, can save large amounts of data, as secure as you make it, use of login/password
Negativesnly as safe as you make it, will need to make a login/password, takes much more time to setup than sharedObjects
-
Okay... How exactly o you use the sharedObjects?
-
Developing For Dunkets
there's many tutorials. Just look up shared object in the help files. It gives way more info than I could here.
-
Ok, thanks for you help. It's appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|