sthg sthg - 1 year ago 177
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download