Flash 与 javascript Internet Explorer 的交互
我有一个与 JavaScript 函数交互的 Flash 对象。 交互在除 IE 之外的所有浏览器(所有版本)中都运行良好 我尝试过 swfobject 和经典嵌入。 AllowScriptAccess 设置为“始终”。 这个缺陷有什么原因吗? 谢谢
I have a flash object interacting with a javascript function. The interaction works fine in every browser except in IE (all versions)
I have tried with swfobject and with classic embeding. AllowScriptAccess is set to "always". Is there any cause for this flaw ?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用的是ExternalInterface,则问题可能与您尝试在JavaScript 中引用对象的方式有关。 看看我对此问题的回答 - - 这可能不是完全相同的问题,但我的答案提供了一个在 IE 上测试过的ExternalInterface的端到端示例,所以你可能想将它与你自己的进行比较,看看是否有任何东西丢失或不合适。
但是,如果这没有帮助,请尝试发布一些代码,以便我们可以查看发生了什么,并可能更具体地诊断问题。
If you're using ExternalInterface, the problem may be related to the way you're attempting to reference the object in JavaScript. Take a look at my answer to this question -- it might not be exactly the same issue, but my answer provides an end-to-end example of ExternalInterface that's been tested on IE, too, so you might want to compare it to your own to see whether anything's missing or out of place.
If that doesn't help, though, try posting some code, so we can have a look at what's going on and maybe diagnose the problem more specifically.
如果您从文件运行测试而不是在网络服务器上测试它,可能是因为安全设置。
If you are running the test from a file instead of testing it on a webserver it might be because security settings.