いままではデバッグ版を使っていたので気づかなかったのですが、リリース版で Flash Player 9.0.115 以降を使ってソケット通信をすると、セキュリティエラーが起きるようです・・。 http://remembrance.ryd.oops.jp/?eid=812591 上記のサイトを参考に http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html から flashpolicyd_v0.6.zip を落としてきて、解凍します。 次にポリシーファイルを作ります。以下はテスト用の適当なファイルです。 <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd"> <cros