ForumsProgramming ForumArmorGames and Flash Cookies

3 2200
tedgaming
offline
tedgaming
6 posts
20

Hi,

Has anyone here have negative experiences with Flash cookies? I'm not sure if that's the official name, but it's the one that looks like:

SharedObject.getLocal("name"

If that's no good, can someone suggest a better way to save user progress? I think most flash games use this and it seems to work fine except there was this one time where one of friends cannot run any flash app that uses this.

I appreciate any suggestions or comments.

Thanks.

  • 3 Replies
ExplosionsHurt
offline
ExplosionsHurt
251 posts
40

It should also be possible to use externalinterface to save user progress to a server of some sort.

Problem is that AG doesn't allow that. I think that you friend had his security level too high, and so it didn't allow flash apps to save anything.

To avoid this happening, I use a try...catch block to detect if the game couldn't save the cookie.

Hope this helps
-Explosions Hurt

tedgaming
offline
tedgaming
6 posts
20

Thanks for the reply! I didn't know about externalinterface, it's good to know that this feature is available though I won't be using it for the game I submit to ArmorGames since you say they don't allow it.

With my friend, he insisted that he did set his security level to allow flash to write on his computer but who know if he actually did. If most games here use sharedobjects and it works fine, I'll probably use it as well.

More response on the topic would be appreciated, thanks.

plasmafish
offline
plasmafish
256 posts
60

My friend had all his security jacked up and it would never save his score for my game, Super Mitchio. Now I couldn't tell you why he needs this beefy security that doesn't save cookies/cache for any site after exiting his browser, but it negates the positive effects of AS save/load states.

Showing 1-3 of 3