We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Trusted sites and externalinterface problem with Flash Player and FF 12

  • 4 个回答
  • 4 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Hi,

Is there any changes regarding trusted sites and Flash in FF12? I cannot send any information from java script to flash any more using externalinterface.

The sample code I have works i FF 3.6 but not in FF 12. I can send message from Flash to java script in both FF 3.6 and FF 12.

The externalinterface works in both directions when the web page is located on a server (when we don't use the trusted sites).

I reinstalled FF12 after I verified the functionality in FF 3.6. Still having problem with FF 12.

I cannot find any information regarding this issue. Any suggestions?

Kind regards.

Hi, Is there any changes regarding trusted sites and Flash in FF12? I cannot send any information from java script to flash any more using externalinterface. The sample code I have works i FF 3.6 but not in FF 12. I can send message from Flash to java script in both FF 3.6 and FF 12. The externalinterface works in both directions when the web page is located on a server (when we don't use the trusted sites). I reinstalled FF12 after I verified the functionality in FF 3.6. Still having problem with FF 12. I cannot find any information regarding this issue. Any suggestions? Kind regards.

所有回复 (4)

more options

Can you link to a page showing how you are trying to script the Flash plugin?

I don't understand the distinction between "located on a server" and "trusted sites."

more options

Thanks for your reply!

If you try the demo at http://www.teefore.se/Externalinterface/externalinterface.html you can send a message to and from the SWF. If you download the demo at http://www.teefore.se/Externalinterface/externalinterface.zip and put the files on your local disk you may have problem to send message to the SWF.

After some more test I think this is a Flash Player problem.If I have Flash Player version 10.2.152.26 installed the demo works on local disk in both FF 3.6 and FF 12. If I update my Flash Player to the latest version (11.2.202.235) I cannot send message to Flash on local disk.

For me the demo works on local disk on IE9, Opera 11.64, Safari 5.1.2, Google Chrome 19.0.1084.46 m when I have version 11.2.202.235 installed.

Thanks.

more options

Sorry, the link for download should be http://www.teefore.se/Externalinterface/Externalinterface.zip

由akost于修改

more options

It works if I right-click the Flash player and open the Global Settings panel and add the folder in the Trusted location Settings.

  • Preferences > Advanced > Developer Tools > Trusted Location Settings

It may be best not to keep that setting.