开发者

ActionScript 3 Sockets not working on the web? - works fine on my desktop

开发者 https://www.devze.com 2023-04-13 04:55 出处:网络
I have created AS3 APP that wo开发者_StackOverflow中文版rks with http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/Socket.html

I have created AS3 APP that wo开发者_StackOverflow中文版rks with http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/Socket.html

The application works fine on my desktop, but if i upload it on my webserver, the flash sockets does not work, it connects but i'm unable to send or receive data.

How can i fix this?


This sounds like a security error to me, the server you are connecting to needs to return a socket policy file, read more about that here:

http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html

0

精彩评论

暂无评论...
验证码 换一张
取 消