any one have a snip of code to allow the flash player to acess a cross domain policy file. i have one but its for as2 i tried it in as3 and it throws me errors.
If you’re talking about XML access, it doesn’t need to ‘access’ the file - if the crossDomain.xml file is present, it will be granted access, otherwise it’ll be denied.
my file is actualy trying to acess a php file that generates an xml file and i need the flash player to localy acess it.
im pretty much looking for the AS3 equivalentto this
System.security.allowDomain("http://www.DOMAIN.net");
System.security.loadPolicyFile("http://www.DOMAIN.net/crossdomain.xml");
scratch that i figured it out
Security.allowDomain();
Security.loadPolicyFile();
my exe still cant connect though any one have any ideas??