<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Microsoft, ActiveX and noscript</title>
	<atom:link href="http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/</link>
	<description>Hypertext rulez™</description>
	<lastBuildDate>Fri, 16 Jul 2010 19:33:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Karl Rudd</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2338</link>
		<dc:creator>Karl Rudd</dc:creator>
		<pubDate>Tue, 23 May 2006 05:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2338</guid>
		<description>There&#039;s a much simpler way. No messing round creating hundreds of seperate Javascript files or relying soley on Javascript to &quot;write&quot; out tags.

This is basically a copy paste of what I posted on &lt;a href=&quot;http://www.robertnyman.com/2006/04/05/flash-interaction-disabled-in-internet-explorer/&quot;&gt;Robert Nyman&#039;s blog&lt;/a&gt;.

At the moment I&#039;ve got something like this at the top of the pages containing Flash or other &#039;objects&#039;.

&lt;code&gt;&lt;!--[if IE]&gt;
&lt;script defer=&quot;defer&quot; src=&quot;iefixes.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;![endif]--&gt;&lt;/code&gt;

And in &#039;iefixes.js&#039;:
&lt;code&gt;var objects = document.getElementsByTagName(&#039;object&#039;);
for (var i = 0; i &lt; objects.length; i++) {
objects[i].outerHTML = objects[i].outerHTML;
};&lt;/code&gt;

The two key points are the conditional comment (so it&#039;s IE only) and the &quot;defer&quot; attribute (so it runs directly after the body is loaded).

It&#039;s not perfect but it works well, and means I don&#039;t have to change all object tags.

It also means that if the user doesn&#039;t have Javascript they can still access the Flash.</description>
		<content:encoded><![CDATA[<p>There&#8217;s a much simpler way. No messing round creating hundreds of seperate Javascript files or relying soley on Javascript to &#8220;write&#8221; out tags.</p>
<p>This is basically a copy paste of what I posted on <a href="http://www.robertnyman.com/2006/04/05/flash-interaction-disabled-in-internet-explorer/">Robert Nyman&#8217;s blog</a>.</p>
<p>At the moment I&#8217;ve got something like this at the top of the pages containing Flash or other &#8216;objects&#8217;.</p>
<p><code>&#60;!--[if IE]&#62;<br />
&#60;script defer="defer" src="iefixes.js" type="text/javascript"&#62;&#60;/script&#62;<br />
&#60;![endif]--&#62;</code></p>
<p>And in &#8216;iefixes.js&#8217;:<br />
<code>var objects = document.getElementsByTagName('object');<br />
for (var i = 0; i &#60; objects.length; i++) {<br />
objects[i].outerHTML = objects[i].outerHTML;<br />
};</code></p>
<p>The two key points are the conditional comment (so it&#8217;s IE only) and the &#8220;defer&#8221; attribute (so it runs directly after the body is loaded).</p>
<p>It&#8217;s not perfect but it works well, and means I don&#8217;t have to change all object tags.</p>
<p>It also means that if the user doesn&#8217;t have Javascript they can still access the Flash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marko</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2321</link>
		<dc:creator>marko</dc:creator>
		<pubDate>Fri, 19 May 2006 08:00:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2321</guid>
		<description>Yes, the SWFObject is great if you don&#039;t have several Flash files plus loads of other JavaScript trickery around the page.</description>
		<content:encoded><![CDATA[<p>Yes, the SWFObject is great if you don&#8217;t have several Flash files plus loads of other JavaScript trickery around the page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DC</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2320</link>
		<dc:creator>DC</dc:creator>
		<pubDate>Thu, 18 May 2006 18:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2320</guid>
		<description>I have heard SWF Object to be the most ideal solution, I just use a 5 line javascript i wrote that manually clicks on any object as it loads in the page, which works for all activex objects etc, especialy usefull if you have many flash objects on a page. (For example, an mp3 shopping site that has 50 preview buttons on one page, even though dynamically gen&#039;d and swf object could be called for each one, its much more efficient).

And I thought how SWF Object worked coudln&#039;t cause a big slowdown, but just now on a client&#039;s site, It more then quadroupled the load time, it litteraly takes 30 seconds after the page is done loading for the flash to appear. Maybe it&#039;s something specific for ceritant settings or flash files, but SWFObject definetly slower in this specific example (but has not been in others?).</description>
		<content:encoded><![CDATA[<p>I have heard SWF Object to be the most ideal solution, I just use a 5 line javascript i wrote that manually clicks on any object as it loads in the page, which works for all activex objects etc, especialy usefull if you have many flash objects on a page. (For example, an mp3 shopping site that has 50 preview buttons on one page, even though dynamically gen&#8217;d and swf object could be called for each one, its much more efficient).</p>
<p>And I thought how SWF Object worked coudln&#8217;t cause a big slowdown, but just now on a client&#8217;s site, It more then quadroupled the load time, it litteraly takes 30 seconds after the page is done loading for the flash to appear. Maybe it&#8217;s something specific for ceritant settings or flash files, but SWFObject definetly slower in this specific example (but has not been in others?).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nivid</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2319</link>
		<dc:creator>nivid</dc:creator>
		<pubDate>Thu, 18 May 2006 14:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2319</guid>
		<description>very nifty..thanks for sharing it..</description>
		<content:encoded><![CDATA[<p>very nifty..thanks for sharing it..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marko</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2272</link>
		<dc:creator>marko</dc:creator>
		<pubDate>Thu, 11 May 2006 07:59:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2272</guid>
		<description>Todd, you&#8217;re right, the &lt;code&gt;wmode=&quot;transparent&quot;&lt;/code&gt; increases CPU usage, but it&#8217;s sometimes necessary for various reasons. Nevertheless, the brute &lt;code&gt;innerHTML&lt;/code&gt; method works best in this case.</description>
		<content:encoded><![CDATA[<p>Todd, you&#8217;re right, the <code>wmode="transparent"</code> increases CPU usage, but it&#8217;s sometimes necessary for various reasons. Nevertheless, the brute <code>innerHTML</code> method works best in this case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd Dominey</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2271</link>
		<dc:creator>Todd Dominey</dc:creator>
		<pubDate>Wed, 10 May 2006 21:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2271</guid>
		<description>I&#039;ve heard of CPU issues when SWFs are set with a transparent WMODE. Perhaps that could be the problem.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve heard of CPU issues when SWFs are set with a transparent WMODE. Perhaps that could be the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2270</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Wed, 10 May 2006 13:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2270</guid>
		<description>&lt;em&gt;SWFObject pushes P4 2.8 HT CPU to 100% in Firefox when cloud rendering starts at Hellgate: London.&lt;/em&gt;

Are you sure? I&#039;ve been using SWFObject for almost a year and a half and never had it affect the performance of a swf file. It just writes the html to the page as it loads and then that&#039;s it, it shouldn&#039;t cause any adverse performance.</description>
		<content:encoded><![CDATA[<p><em>SWFObject pushes P4 2.8 HT CPU to 100% in Firefox when cloud rendering starts at Hellgate: London.</em></p>
<p>Are you sure? I&#8217;ve been using SWFObject for almost a year and a half and never had it affect the performance of a swf file. It just writes the html to the page as it loads and then that&#8217;s it, it shouldn&#8217;t cause any adverse performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Thompson</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2269</link>
		<dc:creator>Michael Thompson</dc:creator>
		<pubDate>Wed, 10 May 2006 12:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2269</guid>
		<description>I agree with those above on the use of SWFObject:
(http://blog.deconcept.com/swfobject/)

The beauty of it is that is doesn&#039;t rely on noscript at all -- it replaces a DIVs content using well-written Javascript.

It keeps your markup extremely clean (a JS include and a few lines where you want the Flash to appear), and works in just about every browser. And where it doesn&#039;t work, you&#039;re left with a div containing your alternate content.

Nice work, though. And while SWFObject might be a teeny bit slower, it&#039;s also far more flexible and time-tested at v1.4.</description>
		<content:encoded><![CDATA[<p>I agree with those above on the use of SWFObject:<br />
(<a href="http://blog.deconcept.com/swfobject/" rel="nofollow">http://blog.deconcept.com/swfobject/</a>)</p>
<p>The beauty of it is that is doesn&#8217;t rely on noscript at all &#8212; it replaces a DIVs content using well-written Javascript.</p>
<p>It keeps your markup extremely clean (a JS include and a few lines where you want the Flash to appear), and works in just about every browser. And where it doesn&#8217;t work, you&#8217;re left with a div containing your alternate content.</p>
<p>Nice work, though. And while SWFObject might be a teeny bit slower, it&#8217;s also far more flexible and time-tested at v1.4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marko</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2267</link>
		<dc:creator>marko</dc:creator>
		<pubDate>Wed, 10 May 2006 08:33:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2267</guid>
		<description>SWFObject pushes P4 2.8 HT CPU to 100% in Firefox when cloud rendering starts at &lt;a href=&quot;http://hellgatelondon.com/&quot;&gt;Hellgate: London&lt;/a&gt;.

We integrated a kind of benchmark into .SWF file itself, but it wasn&#8217;t of any help. Plus, we have tons of other JavaScript functions on the site, which is also making things more processor intensive.</description>
		<content:encoded><![CDATA[<p>SWFObject pushes P4 2.8 HT CPU to 100% in Firefox when cloud rendering starts at <a href="http://hellgatelondon.com/">Hellgate: London</a>.</p>
<p>We integrated a kind of benchmark into .SWF file itself, but it wasn&#8217;t of any help. Plus, we have tons of other JavaScript functions on the site, which is also making things more processor intensive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren Kopp</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2248</link>
		<dc:creator>Darren Kopp</dc:creator>
		<pubDate>Tue, 09 May 2006 20:34:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2248</guid>
		<description>we use SWFObject at work and it seems to work just fine, as well as it loads quite quickly.</description>
		<content:encoded><![CDATA[<p>we use SWFObject at work and it seems to work just fine, as well as it loads quite quickly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marko</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2247</link>
		<dc:creator>marko</dc:creator>
		<pubDate>Tue, 09 May 2006 19:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2247</guid>
		<description>John, we tried with the SWFObject, but the site was awfully slow, especially on FF/Mac.</description>
		<content:encoded><![CDATA[<p>John, we tried with the SWFObject, but the site was awfully slow, especially on FF/Mac.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2246</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 09 May 2006 17:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2246</guid>
		<description>Did you try using the &lt;a href=&quot;http://blog.deconcept.com/swfobject/&quot;&gt;SWFObject&lt;/a&gt; method of embedding Flash? I&#039;ve found that to be the easiest and most effective way to embed Flash in a webpage, plus it has the advantage of detecting the version of Flash installed on a user&#039;s machine. If you did try out SWFObject, I&#039;m curious why you chose this solution in the end.</description>
		<content:encoded><![CDATA[<p>Did you try using the <a href="http://blog.deconcept.com/swfobject/">SWFObject</a> method of embedding Flash? I&#8217;ve found that to be the easiest and most effective way to embed Flash in a webpage, plus it has the advantage of detecting the version of Flash installed on a user&#8217;s machine. If you did try out SWFObject, I&#8217;m curious why you chose this solution in the end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Logan</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2245</link>
		<dc:creator>Nathan Logan</dc:creator>
		<pubDate>Tue, 09 May 2006 17:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2245</guid>
		<description>We&#039;ll be using this at work very soon.

Thanks a lot for sharing it.</description>
		<content:encoded><![CDATA[<p>We&#8217;ll be using this at work very soon.</p>
<p>Thanks a lot for sharing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cody lindley</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2244</link>
		<dc:creator>cody lindley</dc:creator>
		<pubDate>Tue, 09 May 2006 15:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2244</guid>
		<description>Very helpful, thanks.</description>
		<content:encoded><![CDATA[<p>Very helpful, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Wible</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2243</link>
		<dc:creator>Chris Wible</dc:creator>
		<pubDate>Mon, 08 May 2006 20:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2243</guid>
		<description>Ugh! I&#039;m glad I&#039;m getting away from Flash... for a while I was feeling like I might be missing something. And, here it is - another headache. I can do without that! ;)

Just so you know - your live preview script is running r e a l l y  s l o w today. Not griping - just letting you know.</description>
		<content:encoded><![CDATA[<p>Ugh! I&#8217;m glad I&#8217;m getting away from Flash&#8230; for a while I was feeling like I might be missing something. And, here it is &#8211; another headache. I can do without that! ;)</p>
<p>Just so you know &#8211; your live preview script is running r e a l l y  s l o w today. Not griping &#8211; just letting you know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fredrik Wärnsberg</title>
		<link>http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2242</link>
		<dc:creator>Fredrik Wärnsberg</dc:creator>
		<pubDate>Mon, 08 May 2006 19:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.maratz.com/blog/archives/2006/05/08/microsoft-activex-and-noscript/#comment-2242</guid>
		<description>This just might be the fall for common flash-usage!</description>
		<content:encoded><![CDATA[<p>This just might be the fall for common flash-usage!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
