Using crossdomain.xml when serving a .swf from a domain that is NOT the domain of the web page it appears on
-
20-12-2019 - |
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?
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