Nick,

I get that error whenever my JavaScript references an ActionScript function
that isn't specified as a callback function. 

In other words, if the JavaScript says:

myFlashMovie.getFoo();

Then the ActionScript inside myFlashMovie needs to say:

ExternalInterface.addCallback("getFoo");

Otherwise, I'll get that JavaScript error.

HTH
-Jim 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nick Zotta
Sent: Tuesday, January 23, 2007 9:26 AM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] ExternalInterface.call -> javascript error

Hello flashcoders,

Does anyone know the cause of the javascript error: "Object doesn't support
this property or method" when using ExternalInterface.call() to comunicate
between Flash and Javascript?  My javascript function is triggered, but
before executing its actions, a javascript error popup appears with the
message :"Object doesn't support this property or method". Even if the
javascript function is blank (nothing to execute), the javascript error
still appears.
No javascript error in Firefox or Opera, but only in IE (6 and 7).
I get this error both locally and on the webserver.
All the tests were made with FlashPlayer 9.

Thanks a lot,

Nick
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to