0

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!

4

1 回答 1

0

查看SharedObject.getLocal()localPath的参数:

最宽松的方法是将 localPath 设置为 /(斜杠),这使得共享对象可用于域中的所有 SWF 文件,但会增加与域中其他共享对象发生名称冲突的可能性。

于 2009-10-19T14:25:05.880 回答