Checking if flash plugin present, failing only in IE (think its basically the javascript engine of IE 9, even when browser&document mode changed with developer tools).

```
var is_Flash = false;
var is_FlashVersion = 0;

var plugin = (navigator.mimeTypes && 
              navigator.mimeTypes["application/x-shockwave-flash"] &&
              navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) ?
              navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if (plugin&&plugin.description) {
    is_Flash = true;
    is_FlashVersion = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1));
}

```

IE doesnt return the plugin details.
Anyone know of a solution?

Can use this to check the object details, IE simply nothing and 0 length on the mimeTypes object.

```
var obj = navigator.mimeTypes["application/x-shockwave-flash"];
var out = '';
for (var i in obj) {
    out += i + ": " + obj[i] + "\n";
}
alert(out);

```