Is there a way to make a shared object that can be accessed by two different swf files on two different web pages? It works locally but when not when I upload the files to a server. How else can two swfs share information, without a database? I'm trying to have a settings panel on one page, and have all other flash files access the settings. Thanks!
Asked
Active
Viewed 1,202 times
0
-
Is there any solution for this? *To access the same shared object by different swf files... – Feb 23 '12 at 11:07
1 Answers
0
Check out the localPath
parameter of SharedObject.getLocal():
The most permissive approach is to set localPath to / (slash), which makes the shared object available to all SWF files in the domain, but increases the likelihood of name conflicts with other shared objects in the domain.

grapefrukt
- 27,016
- 6
- 49
- 73
-
That's what I tried initially, but the Shared Objects still can't be accessed by swfs in different locations. That works locally though. – Oct 25 '09 at 20:01
-
that really should work as long as they are hosted by the same domain. do you have any examples of it not working? – grapefrukt Oct 26 '09 at 11:53