Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Trusted sites and externalinterface problem with Flash Player and FF 12

  • 4 réponses
  • 4 ont ce problème
  • 3 vues
  • Dernière réponse par 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.

Toutes les réponses (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

Modifié le par 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.