Posted on Thursday 30 June 2005
I've already mentionned before the need for cross domain policy files when you load XML data into a Flash from another domain. This also applies to Remoting and LoadVars (though not FlashComm). What if you need to load a swf from another domain inside a container swf? That happened to me just yesterday with this affiliate network of sites that use centralized preview swfs. The solution, courtesy of Jesse, is quite simple, but hard to dig in the docs; add this line in the child fla's root timeline:
System.security.allowDomain(_parent._url);
This will allow the domain that loaded the child swf to access the child. That's all there is to it.


