I have a swf that I'm trying to embed across sites.
In the simplest form of the problem, I have the actionscript:
ExternalInterface.addCallback('foo', test);
function test():void {
// Do stuff
}
When the swf is embedded on the page in the same domain, the callback works.
If the swf is loaded from a remote domain, the callback fails.
I have allowScriptAccess="always", that allows the swf to call javascript, but
not the javascript to call methods on the swf.
I have tried:
crossdomain policy
Security.allowDomain("*");
I just can't find the magic to make this work...
Any help will be greatly appreciated.
-Nick