Using crossdomain.xml when serving a .swf from a domain that is NOT the domain of the web page it appears on

StackOverflow https://stackoverflow.com//questions/21003739

Question

I'm writing a Flash script that will need to pull data from Domain A, is hosted on Domain B, and appears on the web page of Domain C (.swf is pulled from Domain B).

My question is this - I have limited abilities to modify the crossdomain.xml file on Domain A - will things work if I tell Domain A's crossdomain.xml to allow calls from Domain B but not Domain C?

Was it helpful?

Solution

It should work as the domain of the SWF is B, not C. I assume you will just embed it there, won't you?

OTHER TIPS

the call to pull data from domain A is from the swf whos url is from domain B

http://www.domainB.com/my.swf is loading http://www.domainA.com/api.php

http://www.domainA.com/crossdomain.xml needs to allow domainB

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top