我的要求是使用来 self 的 flexbuilder AS 代码的 SSL 和 TLS 建立连接。我用谷歌搜索它,发现 SecureSocket() 将用于从以下 url 与 SSL 和 TLS 通信,
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/SecureSocket.html
虽然尝试在我的代码中实现相同的功能,但我无法导入命名空间 SecureSocket (import flash.net.SecureSocket;
),并且在引用它时抛出错误为 “找不到定义 flash.net.SecureSocket”
仅供引用 - 我使用的是 Flex Builder 版本 3
最佳答案
关于actionscript-3 - 导入 flash.net.SecureSocket 抛出错误 "Definition XXX could not be found",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43607270/