简体   繁体   中英

How to use SharedObject from an external swf in AS2

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 swf 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM