Yeah - the good thing about ExternalInterface is that it also works the other way... You can (easily and reliably) call functions in Flash from JavaScript. Which I need to be able to do in this case...
I'll let you know if I figure anything out - thanks again for the plugin, Kelvin :) Luke Lutman wrote: > 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. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/