简体   繁体   中英

flash interaction with javascript internet explorer

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

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM