flashactionscriptiframelocalconnection

LocalConnection and iframes


I'm trying get LocalConnection to work between two swf's placed within two different IFRAMES. I've worked with LocalConnection often without too much trouble. But this time --i suspect because of the iframes--i can't get it to work.

Anybody experience the same?


Solution

  • Actually, it is allowed. The SWFs are all sandboxed to the same flash player instance. You just need to insure that your security configuration is correct. Take a look at the LiveDocs for LocalConnection's allowDomain function.