..been googling on this, and found that getElementById works only in 
firefox, but not in ie, that you have to use window[] for ie.. anyway, 
this is the approach i tried first and it also didn't work (in ie - 
never any problems in firefox).. could it be related to the fact that 
jquery.flash writes the embed tag for embedding? ..this works with 
sfwobject, but it writes both object and embed tags for ie (although i 
haven't tried it - but people say it works :))..

Luke Lutman wrote:
> I don't think you need window[] or document[], try:
> 
> $('#flash_id')[0].callback();
> 
> Luke
> 
> spinnach wrote:
>> Hi,
>>
>> i'm using the jQuery flash plugin to embed a flash movie to a webpage, 
>> and the ExternalInterface to communicate between flash and javascript.. 
>> in firefox everything's working as expected, but i can't get it to work 
>> in ie.. these are the as and javascript snippets:
>>
>> flash:
>> import flash.external.*;
>> ExternalInterface.addCallback('callback', this, callback);
>>
>> js:
>> flash = ($.browser.msie) ? window['flash_id'] : document['flash_id'];
>> flash.callback();
>>
>> tnx..
>>
>> _______________________________________________
>> jQuery mailing list
>> [email protected]
>> http://jquery.com/discuss/
> 
> 


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

Reply via email to