flash播放器升级到最新版(9.0.124.0)后,同域sockte连接失败
播放器为9,0,115,0版本时,连接是非常正常的.
但当播放器升flash升级到9,0,124,0后,sockte连接就失败了.
我并没有进行跨域访问.比如本地测试地址是:
http://localhost:8080/game/testsockte.htm
flash时里尝试socket.connect("localhost", 8418)
但提示失败.
小弟尝试着放置了策略文件crossdomain.xml,内容如下:
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*.example.com" />
<allow-access-from domain="www.friendOfExample.com" />
<allow-access-from domain="192.0.34.166" />
</cross-domain-policy>
但还是不行.
请各位大力指教,多谢!!!