<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">well, i suppose you may have found a bug in the way the Eolas stuff was implemented in IE... or it's possible that what you are trying to do just happens to violate the patent, so IE did it on purpose..<DIV><BR class="khtml-block-placeholder"></DIV><DIV>the only thing I can say is to try and embed the swf normally in the popup window instead of trying to write it in when you open the popup.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Oct 20, 2006, at 10:35 AM, Carl Hudon wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV class="moz-text-html" lang="x-western"> <DIV class="moz-text-html" lang="x-western"> <FONT face="Helvetica, Arial, sans-serif">Hello everyone,<BR> <BR> We are working on a flash based game here and have been asked to add some informational bits and controls outside of the main game window (yes, we have tried to get that idea out of the management's head but to no avail). Bottom line is we now have to pop other flash apps/comps that will live in window.open'ed browser windows. the rest is cake... problem is, when we write our flash objects in the new window, we havent been able to get rid of the dreaded "click here..." activation control in IE also the flashcontent DIVs in the popped windows wont get re-written in firefox (strangely enough). It does work fine in our main app window (IE and Firefox) but all the popped ones get the activation barrier. It may be the way we implemented the SWFObjects but so far we are running out of ways to try. If you guys can help it would rock. here is a simple form of what we want to do.<BR> <BR> NOTE: I have modified the swfobject function write() for testing purposes to include an extra param (doc) wich is the window.document target object on which you want to write. Not quite working yet it seems. help?<BR> <BR> NOTE: there are DIV elements with proper names on each HTML pages im using. (read a comment from someone with same error that didnt have them. Not the problem in this case.<BR> </FONT><BR> <BR> <U><FONT face="Helvetica, Arial, sans-serif">modified swfobject.js</FONT></U><BR> <BR> <SMALL><FONT color="#333399" face="Courier New, Courier, monospace"><I>write: function(<FONT color="#ff0000">doc</FONT>, elementId){<BR> if(this.getAttribute('useExpressInstall')) {<BR> // check to see if we need to do an express install<BR> var expressInstallReqVer = new deconcept.PlayerVersion([6,0,65]);<BR> if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute('version'))) {<BR> this.setAttribute('doExpressInstall', true);<BR> this.addVariable("MMredirectURL", escape(this.getAttribute('xiRedirectUrl')));<BR> <FONT color="#ff0000">doc</FONT>.title = <FONT color="#ff0000">doc</FONT>.title.slice(0, 47) + " - Flash Player Installation";<BR> this.addVariable("MMdoctitle", doc.title);<BR> }<BR> }<BR> if(this.skipDetect || this.getAttribute('doExpressInstall') || this.installedVer.versionIsValid(this.getAttribute('version'))){<BR> var n = (typeof elementId == 'string') ? <FONT color="#ff0000">doc</FONT>.getElementById(elementId) : elementId;<BR> <FONT color="#ff0000">//alert("doc: " + doc + " string?: " + (typeof elementId == 'string') + " : elementId: " + elementId);</FONT><BR> n.innerHTML = this.getSWFHTML();<BR> return true;<BR> }else{<BR> if(this.getAttribute('redirectUrl') != "") {<BR> <FONT color="#ff0000">doc</FONT>.location.replace(this.getAttribute('redirectUrl'));<BR> }<BR> }<BR> return false;<BR> }<BR> }</I></FONT></SMALL><BR> <BR> <BR> <FONT face="Helvetica, Arial, sans-serif"><U>multi.swf</U><BR> some button has this code on a release listener:</FONT><BR> <FONT face="Courier New, Courier, monospace"><BR> </FONT><SMALL><FONT color="#000099"><I><FONT face="Courier New, Courier, monospace">getURL(<A class="moz-txt-link-rfc2396E" href="javascript:popUp('">"javascript:popUp('"</A> + newChannel + "', '" + jsVars + "', 'scrollbars=auto,status=no,location=no,menubar=no,toolbar=no,resizable=no,width=500,height=300');"); </FONT><BR> </I></FONT></SMALL><U><FONT face="Helvetica, Arial, sans-serif">index.html</FONT><BR> <SMALL><SMALL><FONT face="Courier New, Courier, monospace"><BR> </FONT></SMALL></SMALL></U><FONT color="#000099"><I><SMALL><FONT face="Courier New, Courier, monospace"><html><BR> <head><BR> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><BR> <title>Multi Panel Application</title><BR> <script src="swfobject.js" language="javascript"></script><BR> <script type="text/javascript" language="Javascript"><BR> <!--<BR> var chanels = new Array();<BR> function popUp(windowName, gameID, windowParams){<BR> chanels[windowName] = window.open("info.html", windowName, windowParams);<BR> var tmp = chanels[windowName].document;<BR> var so = new SWFObject("client.swf", "client", "300", "300", "7", "#FFFFFF");<BR> var flVars = gameID.split("=");<BR> so.addVariable(flVars[0], flVars[1]); <BR> so.write(chanels[windowName].document.getElementById('flashcontent'));<BR> }<BR> --><BR> </script><BR> </head><BR> <body bgcolor="#ffffff"><BR> <div id="flashcontent"><BR> Flash Content Here...<BR> </div><BR> <script type="text/javascript"><BR> // <![CDATA[<BR> var so = new SWFObject("multi.swf", "multi", "300", "300", "7", "#FFFFFF"); <BR> so.write("flashcontent");<BR> // ]]><BR> </script><BR> </body><BR> </html><BR> <BR> </FONT></SMALL></I><FONT face="Courier New, Courier, monospace"><U><FONT color="#000000"><FONT face="Helvetica, Arial, sans-serif">info.html<BR> <BR> </FONT></FONT></U><FONT color="#000000"><FONT face="Helvetica, Arial, sans-serif"><SMALL><FONT color="#333399"><I><html><BR> <head><BR> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><BR> <title>Game Panel</title><BR> </head><BR> <body><BR> <div id="flashcontent"><BR> Flash Content Here...<BR> </div><BR> </body><BR> </html><BR> <BR> </I><FONT color="#000000"><U>CLIENT.SWF<BR> <BR> </U><I><FONT face="Courier New, Courier, monospace"><FONT color="#333399">some swf file with a text field that will display whatever has been passed to the flash file from added parameters in SWFObject. <BR> <BR> This works "fine" on IE6 even tho trying to trace the DIV object's properties on the calling page return an error while Firefox 1.5 will trace the object's entire props list and will not be able to access it on the called page making the write() call bomb on line 105; "n has no properties" <- cannot resolve the DIV element by its name).<BR> <BR> </FONT></FONT></I><FONT face="Helvetica, Arial, sans-serif"><FONT color="#333399"><BR> <FONT color="#000000">i've also dropped a demo of this <A href="http://www.coresplit.com/swfo/">here.</A><BR> <BR> Cheers,<BR> <BR> Carl Hudon</FONT></FONT></FONT><I><FONT face="Courier New, Courier, monospace"><FONT color="#333399"><BR> </FONT></FONT></I></FONT></FONT></SMALL></FONT></FONT><U><FONT color="#000000"><FONT face="Helvetica, Arial, sans-serif"><BR> <BR> </FONT></FONT></U></FONT></FONT> </DIV> </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">SWFObject mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:SWFObject@lists.deconcept.com">SWFObject@lists.deconcept.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com">http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>