I'm getting the following error when the swf loads:
Warning: Timeout on xmlsocket://12.345.6.789:843 (at 3 seconds) while waiting for socket policy file.
This should not cause any problems, but see http://www.adobe.com/go/strict_policy_files for an explanation.
I've read the SFSPro tutorials and the forum, but I'm still confused. I must be missing something.
I'm hosting my swf file on a secure SSL domain at https://www.myflashsite.gov/myswf.swf
(Could the .gov or https be causing a problem?)
My SFS server is just an IP address: 12.345.6.789
Server file structure: /insts/sofx/SFS/SFS_PRO_1.6.6 (/Server, /sfsExtensions, etc)
I'm connecting to my swf via 12.345.6.789:80. Why does my warning say port 843? Is that because I'm coming in through Facebook?
I've tried updating my config.xml file:
Code: Select all
<AutoSendPolicyFile>true</AutoSendPolicyFile>
<PolicyAllowedDomains>
<AllowedDomain>*</AllowedDomain>
</PolicyAllowedDomains>
No luck.
I've also tried the crossdomain.xml file:
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
I'm not sure where it should go, though. I put it in both https://www.myflashsite.com/crossdomain.xml (client) and /insts/sofx/SFS/SFS_PRO_1.6.6/crossdomain.xml (server). I've also tried it with setting AutoSendPolicyFile to true and false. No luck no matter what I've tried.
Do I need some actionscript to force load the crossdomain file? I found one post where the guy said he needed to do:
Code: Select all
System.security.loadPolicyFile("xmlsocket://ipaddress:9339")
I didn't see this mentioned in the SFS docs, though.
What am I doing wrong?