# Trouble with FLASH 8 viewing on IE6, etc

**URL:** https://forum.kirupa.com/t/trouble-with-flash-8-viewing-on-ie6-etc/171645
**Category:** flash
**Created:** [December 7, 2005, 1:52am UTC](https://forum.kirupa.com/t/trouble-with-flash-8-viewing-on-ie6-etc/171645 "2005-12-07T01:52:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lolomedia](https://avatars.discourse-cdn.com/v4/letter/l/ebca7d/32.png) [@lolomedia](https://forum.kirupa.com/u/lolomedia)
#### Post date: [December 7, 2005, 1:52am UTC](https://forum.kirupa.com/t/trouble-with-flash-8-viewing-on-ie6-etc/171645/1 "2005-12-07T01:52:23Z")

</div>

Hello,

I have developed a few websites for clients already and I’ve been using FLASH 8 on Mac. Unfortunely, most of my clients are not able to view their sites correctly and this is kind of bad for me. I’m using the following detect plug in to detec flash on PC but it doesn’t seem to do the work

\<SCRIPT LANGUAGE=JavaScript1.1\>  
\<!–  
var MM\_contentVersion = 6;  
var plugin = (navigator.mimeTypes && navigator.mimeTypes[“application/x-shockwave-flash”]) ? navigator.mimeTypes[“application/x-shockwave-flash”].enabledPlugin : 0;  
if ( plugin ) {  
var words = navigator.plugins[“Shockwave Flash”].description.split(" ");  
for (var i = 0; i \< words.length; ++i)  
{  
if (isNaN(parseInt(words\*)))  
continue;  
var MM\_PluginVersion = words\*;  
}  
var MM\_FlashCanPlay = MM\_PluginVersion \>= MM\_contentVersion;  
}  
else if (navigator.userAgent && navigator.userAgent.indexOf(“MSIE”)\>=0  
&& (navigator.appVersion.indexOf(“Win”) != -1)) {  
document.write(’\<SCR’ + 'IPT LANGUAGE=VBScript&gt;  
'); //FS hide this from IE4.5 Mac by splitting the tag  
document.write('on error resume next  
');  
document.write(‘MM\_FlashCanPlay = ( IsObject(CreateObject(“ShockwaveFlash.ShockwaveFlash.” & MM\_contentVersion)))  
‘);  
document.write(’\</SCR’ + 'IPT&gt;  
');  
}  
if ( MM\_FlashCanPlay ) {  
window.location.replace(“[http://marrakeshookah.com/main.html](http://marrakeshookah.com/main.html)”);  
} else{  
window.location.replace(“[http://www.macromedia.com/shockwave/download/download.cgi?P1\_Prod\_Version=ShockwaveFlash](http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash)”);  
}  
//–\>

\</SCRIPT\>

Please help! … one example is [www.marrakeshookah.com](http://www.marrakeshookah.com)

Thank you very much!
