Question
Security.loadPolicyFile
Hello
If i need to load media content(gif, jpg files) from two different domains can I load two different crossdomain.xml from there?
For example:
Security.loadPolicyFile(" http://domain1/crossdomain.xml");
Security.loadPolicyFile(" http://domain2/crossdomain.xml");
and after that:
var context:LoaderContext = new LoaderContext();
context.checkPolicyFile = true;
request = new URLRequest(" http://domain1/qaz.gif");
loader.load(request, context);
...
request = new URLRequest(" http://domain2/wsx.gif");
loader.load(request, context);
Will it work?
Thanks
If i need to load media content(gif, jpg files) from two different domains can I load two different crossdomain.xml from there?
For example:
Security.loadPolicyFile(" http://domain1/crossdomain.xml");
Security.loadPolicyFile(" http://domain2/crossdomain.xml");
and after that:
var context:LoaderContext = new LoaderContext();
context.checkPolicyFile = true;
request = new URLRequest(" http://domain1/qaz.gif");
loader.load(request, context);
...
request = new URLRequest(" http://domain2/wsx.gif");
loader.load(request, context);
Will it work?
Thanks