简体   繁体   English

Flash Builder 4:找不到flash.net.SecureSocket

[英]flash builder 4 : flash.net.SecureSocket can not be found

I have Flash Builder 4 installed. 我已安装Flash Builder 4。 I created a new Actionscript project and when I try to import flash.net.SecureSocket, I get a compile error saying that flash.net.SecureSocket can not be found. 我创建了一个新的Actionscript项目,当我尝试导入flash.net.SecureSocket时,出现编译错误,提示找不到flash.net.SecureSocket。

My guess is you're working on a mobile app and there is no support for ServerSocket or Socket for that matter on mobile or for TV see the note in the top of the docs: 我的猜测是您正在开发移动应用程序,并且在移动设备或电视上对此问题不支持ServerSocket或Socket,请参阅文档顶部的注释:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/SecureSocket.html http://help.adobe.com/zh_CN/FlashPlatform/reference/actionscript/3/flash/net/SecureSocket.html

That said there is an ANE out there for a Socket class for iOS, I personally plan on eventually writing one for the Android side as well as they also provide a Socket class (I have no idea why Adobe doesn't support this out of the box). 就是说,那里有一个用于iOS的Socket类的ANE,我个人计划最终为Android端编写一个ANE,并且他们还提供Socket类(我不知道Adobe为什么不支持Socket类)。框)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM