开发者

Accessing Uza's global object from an loaded external swf

I am using the 1.2 version of Uza's Global singleton (http://www.uza.lt/codex/as3-global-object/). The container swf stores some data and a link to a function in the "global" object.

Then another swf is loaded inside the container, it gets it's global instance with Global.getInstance();, and i suppose i can access the data and function stored in global by the container swf.

This works perfectly on localhost served by a w开发者_如何学Pythonebserver, but when i put the files on my external production server the loaded swf's global appears to not have anything stored by the container.

What am i doing wrong?


Nevermind, looks like updating to Global 2.0 fixed this problem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜