Howdy-
I have only had success using a handler for the preinitialize event:
protected final function setUpTrust(e:Event):void
{
Security.allowDomain("domain.com/crossdomain.xml");
Security.loadPolicyFile("http://domain.com/crossdomain.xml");
var urlRequest:URLRequest = new
URLRequest("http://domain.com/crossdoamin.xml");
var urlLoader:URLLoader = new URLLoader();
urlLoader.load(urlRequest);
}
Cheers,
-Naga
--- In [email protected], grimmwerks <grimm@...> wrote:
>
> Ok - slight modification to original question.
>
> Can I load a socket policy file (usually served on port 843) via port 80? ie
>
> Security.loadPolicyFile("http:domain.com/crossdomain.xml");
>
> And this will allow connectivity to ports 61613
>
>
> Garry Schafer
> grimmwerks
> grimm@...
> portfolio: www.grimmwerks.com/
>