I have Domain1 that is hosting my flash .swf file, and Domain2 that is linking to that .swf file. In the flash file I have a;
loadVars.send("another-domain.com", "_self", "POST");
command. When the flash file is placed anywhere on a page on Domain1, this works perfectly fine. But when placed on Domain2 (and other domains), this loadVars statement does not work and does not forward to another-domain.com.
But when I change "_self" to "_blank" - the statement works fine on Domain2.
Why doesn't "_self" work on external domains?
that looks like a cross-domain security issue.
This is my cross-domain.xml
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<allow-access-from domain="*" />
I've allowed access from every domain. Have I done something wrong here?
Needed the <param name="allowscriptaccess" value="always" /> tag