Groups | Blog | Home
all groups > flash actionscript > october 2006 >

flash actionscript : ExternalInterface.call not working in Firefox?


DMennenoh **AdobeCommunityExpert**
10/14/2006 10:23:02 AM
I just looked with FireFox and it worked just fine.

--
Dave -
Adobe Community Expert
www.blurredistinction.com
http://www.adobe.com/communities/experts/

DMennenoh **AdobeCommunityExpert**
10/14/2006 10:56:30 AM
Sorry, I misread... No, I don't see the alert. Not exactly sure what might
be wrong...

--
Dave -
Adobe Community Expert
www.blurredistinction.com
http://www.adobe.com/communities/experts/

Ubi
10/14/2006 4:50:55 PM
I want to call a javascript function from a Flash application and I am using
the following:

ExternalInterface.call("songStarted", soundCurrent);

This should trigger the javascript function "songStarted" with the
value of soundCurrent (which is a number) as parameter.

On IE, the javascript function is correctly triggered, but on Firefox NOT!

I have Flash Player 9 in both IE and Firefox.

You can have a look at this address:
http://www.rockit.it/radio/
(click on the link in the middle of the page to open the popup where the
Flash application is)

Can anyone explain me why it doesn't work in Firefox?


Daniele

Ubi
10/14/2006 5:29:01 PM
That's very strange.
Did the javascript alert ("trigger test!") appear, when the pop up opened
up?

In case, can you tell me your operative system and flash plugin version?


Thanks!

Daniele


"DMennenoh **AdobeCommunityExpert**" <dave@blurredistinction.com> ha scritto
nel messaggio news:egqvcj$70o$1@forums.macromedia.com...
[quoted text, click to view]

Ubi
10/16/2006 1:29:57 PM
I found the problem!!!!

In the <embed> tag I was referring to a different version of the SWF (which
didn't have the call to the javascript function).


Daniele


"DMennenoh **AdobeCommunityExpert**" <dave@blurredistinction.com> ha scritto
nel messaggio news:egr1bb$92a$1@forums.macromedia.com...
[quoted text, click to view]

AddThis Social Bookmark Button