【发布时间】:2014-08-29 12:07:06
【问题描述】:
我正在尝试使用小型多播会议解决方案 Adobe Flash Builder 4.6 开发 flex 应用程序。但是我运行这个应用程序有很多麻烦。基本上我在 safari 中运行应用程序(通过 flash builder),一切正常,正如我所料。我导出应用程序并再次运行它,就像以前一样好用(在浏览器中的 file:// .... /multicast.html)。
当我尝试在任何服务器上运行它时会出现问题。就像,在 python -
python -m SimpleHTTPServer 8080
或 rails webrick 或任何其他。
如果我打开浏览器并输入 localhost:8080/multicast.html,它将运行 app 但 as3 会抛出异常:
Error: Error #2154: The NetStream Object is invalid. This may be due to a failed NetConnection.
at flash.net::NetStream/invoke()
at flash.net::NetStream/attachCamera()
at multicast/setupStream()
at multicast/netStatus()
来源:http://pastebin.com/wyhzXveC
我决定完全卸载 chrome 并重新安装以避免安装在 safari 中的 flash 调试器。到目前为止,没有运气。
有任何建议、提示或任何东西吗? 谢谢!
【问题讨论】:
-
连接返回了什么?例如。这行
writeText(event.info.code);- 虽然我认为你的 netStream 必须成功才能创建
标签: actionscript-3 flash apache-flex adobe