loadPolicyFile crossdomain.xml problem


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.allowDomain( “" );

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?


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.