codeigniter 站点,swfobject 未完全加载 swf
我有一个奇怪的问题。我有一个应该加载 swf 的视图。 swf 是使用 Flex 编译的,并且显示 mxml 预加载器,但加载时显示空白屏幕。当我直接路径到文件时,它会完全加载并且工作正常。
其他可能相关的信息: swf 通过 GET 请求对数据库进行调用 该网站是使用 codeigniter 构建的 我正在使用 swfobject 来加载 swf,
您可以在这里看到它的所有辉煌: http://thetoad.flattoads.com :16080/~iopdev/CI/index.php?c=moodtotem&m=index
我对此感到疯狂!
I am having a strange problem. I have a view that is supposed to load a swf. The swf was compiled with Flex and the mxml preloader displays but it loads a blank screen. When I path directly to the file it loads fully and works fine.
Other possibly relevant information:
The swf makes calls through GET requests to the database
the site is built with codeigniter
I'm using swfobject to load the swf
you can see it in all it's busted glory here:
http://thetoad.flattoads.com:16080/~iopdev/CI/index.php?c=moodtotem&m=index
I'm going bonkers over this!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您需要“嵌入”标签吗?请参阅此处。
JS 解决方案 swfobject 可能会减轻必须自己做跨浏览器工作的痛苦。
Is it that you need an "embed" tag? See here.
The JS solution swfobject might reduce the pain of having to do cross-browser stuff yourself.
尝试使用 Flex 调试 SWF。
也许有沙箱限制或 SWF 中的路径错误?如果直接加载 SWF,一切似乎都很好。
Try to debug SWF with Flex.
Perhaps something with sandbox restriction or wrong paths in the SWF? If you load the SWF directly, all seems fine.
发现问题了。你说得对,MysticEarth,swf 尝试查找资源时出现问题,由于某种原因它正在站点根目录中查找文件夹。我们能够通过 Firefox 的 LiveHTTPHeaders 插件找到问题所在。
谢谢!
Found the problem. You're right MysticEarth, there was a problem with the swf trying to locate resources, it was looking for the folder in the site root for some reason. We were able to locate the problem with the LiveHTTPHeaders plugin for firefox.
Thanks!