开发者

How to use SharedObject from an external swf in AS2

开发者 https://www.devze.com 2023-02-08 07:42 出处:网络
I have a slideshow that everytime you press a button show a new slide. Every slide is an external swf\'s that is being loaded in to the main swf.

I have a slideshow that everytime you press a button show a new slide. Every slide is an external swf's that is being loaded in to the main swf.

Inside every external swf there is a button that redirects you to another web page.

What i would like to do is use SharedObject (or something like it) to remember wich external 开发者_StackOverflowswf that was last shown when the user pressed the button redirecting them to an other page.

How do i set the SharedObject in the external swf and then read it from the main swf? Is it possible?


does your container swf communicate with guest ones, maybe they have functions visible to each other? Also you can use LocalConnection for passing data to the main swf and storing it in the SharedObject.
it's also possible to use one SharedObject by multiple swfs.

0

精彩评论

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