sthg sthg - 1 month ago 22
ActionScript Question

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?

Answer

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.