Flash 与 javascript Internet Explorer 的交互

发布于 2024-07-13 09:40:37 字数 137 浏览 5 评论 0原文

我有一个与 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

美胚控场 2024-07-20 09:40:37

如果您使用的是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.

爱你是孤单的心事 2024-07-20 09:40:37

如果您从文件运行测试而不是在网络服务器上测试它,可能是因为安全设置。

If you are running the test from a file instead of testing it on a webserver it might be because security settings.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文