Trusted sites and externalinterface problem with Flash Player and FF 12
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.
Tutte le risposte (4)
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."
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.
Sorry, the link for download should be http://www.teefore.se/Externalinterface/Externalinterface.zip
Modificato da akost il
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.