搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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.