You said you were calling the EI functions from the callback from embedSWF(). If that is true, then the EI functions may not be ready. If you're calling from inside flash out to Javascript, to call back into the flash, that seems overly complicated, and is probably beyond our ability to help on this list.
--Kyle -------------------------------------------------- From: "Ivan" <[email protected]> Sent: Thursday, June 25, 2009 11:40 AM To: "SWFObject" <[email protected]> Subject: Re: Calling ExternalInterface methods from another window > > Kyle, thank you, what you said is clarifying. Though, our EI methods > are actually called by functions that are in turn called by the flash > upon it's readiness and click events. Can there still be a > dissynchronization of some kind? > > With best regards, Ivan > > On Jun 25, 8:15 pm, "Getify Solutions, Inc." <[email protected]> wrote: >> I am guessing that maybe the EI functions are just simply not initialized >> yet for the browsers in question. This a known issue that there's a >> slight >> few ms delay between a SWF being added to a page and the EI being >> initialized. >> >> I have a library called CheckPlayer which provides an event callback for >> EI_READY, so you could use that. Or you could do your own logic to simply >> loop/wait until the EI function call works (use a try/catch, with the >> catch >> clause resetting the loop to wait another interval). NOTE: don't try to >> detect if the function is defined or not, as the EI function callbacks in >> IE >> are never "defined" even though they can be called... they are special, >> not >> real JS functions. The only way I know of to test if EI is ready is to >> try >> to make a call in a try/catch. >> >> --Kyle >> >> -------------------------------------------------- >> From: "Ivan" <[email protected]> >> Sent: Thursday, June 25, 2009 10:59 AM >> To: "SWFObject" <[email protected]> >> Subject: Re: Calling ExternalInterface methods from another window >> >> >> >> > Add.: Is embeding function callback event reference window specific? >> > Can the window be specified? >> >> > With best regards, Ivan >> >> > On Jun 25, 6:47 pm, Ivan <[email protected]> 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 -~----------~----~----~----~------~----~------~--~---
