编译后的 SWF 在开发计算机上可以运行,但在其他计算机上不能运行
这真的很烦人,我还没有找到解决方案。
我有一个用 CS5 开发的视频聊天应用程序(as3),当我测试电影(ctrl+enter)时,它编译并显示没有错误,然后我将文件上传到服务器,但根本不起作用。
xml 路径是完美的,事实上,当我使用 FLash CS5 进入机器上的页面时,它加载得很好,但从朋友的计算机上根本无法工作。
有这方面的信息吗?我对此要发疯了!
感谢您的帮助!
this is really annoying and I haven't found a solution for this.
I have a videochat app (as3) developed in CS5, when I test the movie (ctrl+enter) it compiles and shows no errors, then I upload the file to the server and does not work at all.
the xml paths are perfect, in fact when I go to the page on the machine with FLash CS5 it loads fine, but from a friend's computer does not work at all.
any information on this? I'm going nuts with this !
Thanks for the help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这将很难调试,但我有一些想法可以尝试。
在您朋友的计算机上:
1)这是一个愚蠢的问题,但为了全面起见:你的朋友确实有Flash,对吗?而且它不会被 FlashBlock 之类的浏览器扩展阻止吗?
2) 正如 David 上面所建议的,确保 http 请求成功。在 Google Chrome 上(“扳手”>“工具”>“Javascript 控制台”),“控制台”或“网络”选项卡应该会显示某些内容是否无法加载。安装了 Firebug 的 Firefox 也是如此。
祝你好运!
This is going to be tough to debug, but I have a couple ideas of things to try.
On your friend's computer:
1) This is kind of a stupid question, but in the interest of throroughness: your friend does have Flash, right? And it's not getting blocked by a browser extension like FlashBlock?
2) As David suggested above, make sure the http requests are successful. On Google Chrome (Wrench > Tools > Javascript Console), the Console or Network tabs should show you if something is failing to load. Same thing with Firefox with Firebug installed.
Good luck!
安装 Firebug (Firefox) 并在“网络”面板中单击“全部”,然后从通常无法加载 SWF 的计算机上重新加载 Flash 影片。然后只需查看 Firebug 请求列表中是否有任何内容以红色显示。
Install Firebug (Firefox) and in the "Net" panel, click "All" then reload the flash movie again from the machine that usually fails to load the SWF. Then simply see if anything appears in red color in the Firebug requests list.