Discussion list for Unity developers.
unity-dev at moock.org
Tue Mar 18 13:54:20 CST 2008
Hi, I'm having trouble when unity is on the same local network as the flash client. I used a packet sniffer to watch the traffic, and it looks like unity is sending the policy file BEFORE flash is sending the request. Eg, the data happens in this order: >From Server: <cross-domain-policy><allow-access-from domain="*" > to-ports="9100,9101,9102" /></cross-domain-policy>. > From Client: <policy-file-request/>. > Then, I notice in my policyfiles.txt log (output by the debug flash player): > Error: Failed to load policy file from xmlsocket://192.168.1.91:9102 > So it seems that flash will ignore the policy file if it is sent before the request? The problem seems intermittent, sometimes it works fine. So is it possible the policy server could be made to wait for the request before replying? Thanks, David R