AS3 shared objects that can be accessed by swfs on different html pages?
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!
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.
精彩评论