I just tried to do (using 2.2 beta):

var mySWFO = window.parent.document.createElement('script');
mySWFO.setAttribute('src', 'http://some.url/swfobject.js');
window.parent.document.getElementsByTagName('head')[0].appendChild
(mySWFO);

and then later in the document I tried to access said object by doing:

window.parent.swfobject.embedSWF(...);

When I'm loading the whole thing in Firefox, I get a
"window.parent.swfobject is undefined".

My uneducated guess is that maybe the object isn't loaded yet.

Is there a way to work around that issue ? Maybe use a timeout ?
--~--~---------~--~----~------------~-------~--~----~
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