Цитата:
Even though the method is named Security.loadPolicyFile(), a policy file isn’t loaded until a network call that requires a policy file is issued. Calls to loadPolicyFile() simply tell Flash Player where to look for policy files when they are needed.
You can’t receive notification of when a policy file request is initiated or completed, and there is no reason to do so. Flash Player performs policy checks asynchronously, and automatically waits to initiate connections until after the policy file checks have succeeded.
|
Отсюда:
help.adobe.com
SocketConnection:
http://pastebin.com/rAFMaXdT
MainServer.PolicyXML() - строка, полученая при помощи метода buildPolicy класса PolicyServer.
Там ничего особо ценного, хотя, возможно, поможет добавление null в конце сообщения: _socketOut.println(msg + "\u0000");