I haven't used ExternalInterface before, but I have used:

getURL("javascript:myfunction(123,'abc');");

To call a javascript function from flash. This works like a charm if passing 
numbers and strings 
(or JSON strings) to the function will suffice, and is backwards compatible (as 
far as Flash 6, 
I think).

Luke

Kelvin Luck wrote:
> Hi,
> 
> I'm using the really nice "jQuery Flash Plugin"( 
> http://jquery.lukelutman.com/plugins/flash/ ) to embed some Flash in a 
> page I'm building. This Flash needs to communicate with JS through 
> Flash's ExternalInterface. When embedded with the plugin IE fires a JS 
> error (a very useful "Syntax error"!). If I embed a different swf which 
> doesn't use ExternalInterface all is fine. And of course everything is 
> fine in Firefox.
> 
> Has anyone run into any problems like this before?
> 
> Cheers,
> 
> Kelvin :)
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/


-- 
zinc Roe Design
www.zincroe.com
(647) 477-6016

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to