Dec 10, 2008 4:30 AM
loadPolicyFile crossdomain.xml problem
-
Like (0)
Hello,
I am trying to load the xml crossdomain.xml file explicitly from a location on the openfire server (i cant deploy to root)
In order to do so, i am adding the following code to application presetup() :
Security.loadPolicyFile(tempConfig[extKey]);
Security.allowDomain( "*" );
Security.allowInsecureDomain("*");
But before this request i still see a request to the openfire server root crossdomain.xml does my explicit request overrides the first (404) request?
tx
It does, but there seems to be a bug (discussed somewhere else) in Flash Player as it makes a policy request from Openfire on the opened socket (5222) even if you do a Security.loadPolicyFile before opening the socket the very first time you open a Flash application.