I am sorry, I didn't try your version explicitely but another "similar" technique. Probably I jumped on conclusions too fast.
To be precise, what I found is calling "innerHTML" on an parent object of an <object> tag (on IE) does not renders all the attributes correctly. You could see it by looking at the resulting "string" in a debugger. But there are differences that could explain this. The parent object was not a <noscript> tag like yours. Also maybe there was a question of timing: I was calling my external javascript from the "end" of the page - it was taking care of all flash objects on the page at once. (unlike your technique). I do not recall the exact IE version I was using (probably a very recent one) and I do not have a quick test bed to try it out again now. Another drawback I saw is the "double initialization" of all my flash movies. Each movie would load and run "twice". hope that helps, B. 2006/4/18, Geoff Knutzen <[EMAIL PROTECTED]>: > > > I am using flashvars with this technique and am having no troubles at all > > Is there some circumstance where the flashvars wouldn't work? > I don't know what I am missing here. This has worked for me on every test > that I have come up with. > > 2006/04/18, "Bernard Poulin" <[EMAIL PROTECTED]> > > > > > >Just a little note about this technique: > > > >It will "void" out the "flashvars" attribute (and potentially other > >less-frequently used attributes). > > > >If you do not use these special attributes, then this technique is > perfectly > >fine. > > > >B. > > > > > >2005/12/22, Geoffrey Knutzen <[EMAIL PROTECTED]>: > >> > >> > >> Here is what I am using: > >> > >> <!--[if IE]><noscript id="flash1"><![endif]--><object > >> classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" > >> codebase=" > >> > > http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#versio > n=6,0,0,0 > >> " > >> width="435" height="270" id="flash_home" align="middle"> > >> <param name="allowScriptAccess" value="sameDomain" /> > >> <param name="movie" value="flash.swf" /> > >> <param name="loop" value="false" /> > >> <param name="quality" value="best" /> > >> <param name="bgcolor" value="#ffff" /> > >> <embed src="flash.swf" loop="false" quality="best" bgcolor="#ffffff" > >> width="435" height="270" name="flash_home" align="middle" > >> allowScriptAccess="sameDomain" type="application/x-shockwave-flash" > >> pluginspage="http://www.macromedia.com/go/getflashplayer" /> > >> </object><!--[if IE]></noscript><script language="JavaScript" > >> type="text/javascript">writeExCtrl('flash1')</script><![endif]--> > >> > >> and then in an exteranl .js file: > >> function writeExCtrl(id){ > >> if(document.getElementById && document.getElementById(id) && > >> document.getElementById(id).innerHTML){ > >> document.write(document.getElementById(id).innerHTML.replace(/>/gi, > >> '>').replace(/</gi, '<')); > >> } > >> } > >> > >> Basically, everything is the same as it always was for every browser > other > >> than ie > >> using the ie conditional comments, > >> > >> > > > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

