-
Shared Object Names
Can anyone help me out here... I'm resorting to using shared objects to save the stats and progress in a game im making, since I had no way to edit .txt files through flash.
I was reading up on them, and I realize that I'll have to do alot of working with them so that it works good in my game... but one thing I have a question on is this...
If I declare a shared object, lets say, named "RPG" with the object "game1" in it...
Code:
game1 = SharedObject.getLocal("RPG");
If "game1" doesnt exist it will create it, and if it does exist will it result in an error?
What I'm trying to do is, make sure that the shared objects wont be used in other games the users may have played with shared objects... OR find out if another game used the same shared object would it write over it?
Thanks to all who help...
~Bill