crossdomain.xml and Player 10
I have a series of course templates created in Flash that access their content (XML and FLV) from a different server. These were working fine with a crossdomain.xml file in place with the following code and the user having player 9:
Code:
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="training.bulab.com" />
<allow-access-from domain="memnt29.bulab.com" />
<allow-access-from domain="memnt9.bulab.com" />
</cross-domain-policy>
When users upgraded to 10, there was no data coming in. The issue has to be security because we have other courses with the same structure, but their content is on the same server and there is no "Security.loadPolicyFile" call.
I tried reading the lame Adobe documentation on the security "upgrades" in 10 and the best I could do is the following:
Code:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only" />
<allow-access-from domain="*" />
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
This is in the root directory that contains multiple directories with files for each of the courses. This is the only crossdomain file in the main or sub-directories. The AS that accesses the file is:
Code:
Security.loadPolicyFile("http://ptws1.bulab.com/userfiles/portaltraining/crossdomain.xml");
The data is not getting through. Any help would be greatly appreciated!
Trouble in Cross domain plicy file
hi buddy,
i have the same problem.. i couln't fix it. could you pls help me??
i have the content in the path mentioned below
http://www.abc.com/xx/xx/xx/xx/ideaGraph.xml
i have placed the cross domain in
http://www.abc.com/xx/crossdomain.xml
xml content:
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*.abc.com"/>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
scritp used to load:
System.security.loadPolicyFile("http://www.abc.com/xx/crossdomain.xml");
var xmlpath = "http://www.abc.com/xx/xx/xx/xx/ideaGraph.xml";
please help me to sort this.. i am in a great trouble :-(