Hi, Seth!

Thank you very much! The window context of the object and that of the
EI methods were ensured to be the same in the way you outlined.
Alas, the methods aren't applied due some mysterious reason, and this
seems to be an EI/IE issue.

With best regards, Ivan

On Jun 25, 9:10 pm, Seth Green <[email protected]> wrote:
> Is this a pop-up opened via window.open() ?
>
> Do you know the id of the SWF object that is being embedded in the pop-
> up?
>
> If the answer to both of those is yes, you might want to try something  
> like this.
>
> In the popup:
>
> var mySWF = swfobject.embedSWF('flash',blah,blah,opener.loaded);
>
> In the opener:
>
> var myWindow = window.open(...);
>
> function loaded(e){
>         var flash = myWindow.getElementById('flash');
>         flash.callEIMethod();  
>
> }
>
> I'm thinking the reference you are trying to use that is passed back  
> from the callback isn't valid in IE or Opera for some reason. This  
> method has you explicitly creating the reference.
>
> On Jun 25, 2009, at  10:47 AM, Ivan wrote:
>
>
>
> > Hi!
>
> > Not quite an SWFObject question, but: are there any restrictions when
> > calling ExternalInterface methods of a flash object that's embedded in
> > a JavaScript-opened popup window?
>
> > The flash object in popup is referenced via callback function of
> > swfobject.embedSWF. In Firefox and WebKit browsers the methods are
> > called successfully, but not in IE and Opera.
>
> > With best regards, Ivan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to