Search code examples
actionscript-3flashshared-objects

A method for for Flash's SharedObjects similar to send(), but local?


I'm accessing the same SharedObject from two different programs at the same time on the same computer (i.e. locally, not remotely), and I wanted to know in one program if the other program had changed the SharedObject (besides just refreshing it). I had thought that the send() method or sync event would work, but those only work on remotely accessed SharedObjects. Is there something similar I could use?


Solution

  • If you have two swfs running on the same machine, LocalConnection will let one swf call functions in another swf.