Copy link to clipboard
Copied
How would I enable a shared object to be used by more than one game? I have tried doing SharedObject.getLocal("ID","/"), but they still seem to have seperate shared objects, both of these applications have seperate domains (com.domain.app).
Copy link to clipboard
Copied
if they're on different domains, they can't use the same sharedobject. you should use server side files to store user data.
Copy link to clipboard
Copied
So if I were to change the domains to be: com.mydomain.game117, and com.mydomain.game2245, it would work?
Copy link to clipboard
Copied
try it. but i suspect those will look like different domains.
you could use:
com.mydomain.games/game117 for your game117's main swf
and
com.mydomain.games/game2245 for your game2245's main swf
Copy link to clipboard
Copied
I can't have both of the domains set to the same thing, I am going to be publishing them to the Google Play Store.
Copy link to clipboard
Copied
different domains->different sharedobjects.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now