Re: [flexcoders] Is System.security.loadPolicyFile() one shot onl y?

2005-03-05 Thread Alex Cruikshank
Matt, Thanks for the suggestion. We were actually trying to connect through an XMLSocket, so there wasn't any way to change the policy file. I ran some more experiments which indicate that it's not possible to load a policy file from an http connection and then use and XMLSocket (unless the connect

RE: [flexcoders] Is System.security.loadPolicyFile() one shot onl y?

2005-03-01 Thread Matt Chotin
Any chance you could create copies of the policy file and just iterate through?  When you fail to load the firsttime wait a few seconds and try loading the next policy file.  Not sure why loadPolicyFile won’t try the same file again, but this might be a cheap workaround.   Matt