title: IE 9 flash detect with javascript
body: <p>Checking if flash plugin present, failing only in IE (think its basically the javascript engine of IE 9, even when browser&amp;document mode changed with developer tools).</p>
  
  <pre><code>var is_Flash = false;
  var is_FlashVersion = 0;
  
  var plugin = (navigator.mimeTypes &amp;&amp; 
                navigator.mimeTypes["application/x-shockwave-flash"] &amp;&amp;
                navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) ?
                navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
  if (plugin&amp;&amp;plugin.description) {
      is_Flash = true;
      is_FlashVersion = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1));
  }
  </code></pre>
  
  <p>IE doesnt return the plugin details.
  Anyone know of a solution?</p>
  
  <p>Can use this to check the object details, IE simply nothing and 0 length on the mimeTypes object.</p>
  
  <pre><code>var obj = navigator.mimeTypes["application/x-shockwave-flash"];
  var out = '';
  for (var i in obj) {
      out += i + ": " + obj[i] + "\n";
  }
  alert(out);
  </code></pre>