|
-
[F8] flash only works in ie
i created a flash navigation for this site: www.acgreen.com/index.html
I have a js script pointing to the flash
It works fine in internet explorer, and it also does the rollover actions in firefox and safari, BUT it will not do the onrelease click actions in firefox or safari.
What am I doing wrong?
Thanks so much!
here is the code in the js script, but since the flash shows up and the rollover works, i'm guessing it is a problem in Flash itself...
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[i])))
continue;
var MM_PluginVersion = words[i];
}
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\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
document.write('on error resume next \n');
document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFla sh." & MM_contentVersion)))\n');
document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
document.write('<OBJECT classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
document.write(' ID="flash_blackstone" WIDTH="980" HEIGHT="30" ALIGN="" menu="false">');
document.write(' <PARAM NAME=movie VALUE="http://www.acgreen.com/assets/nav/MainNav.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#588A42> <PARAM NAME=menu VALUE=false> <param name="allowScriptAccess" value="always"> ');
document.write(' <EMBED src="http://www.acgreen.com/assets/nav/MainNav.swf" quality=high bgcolor=#588A42 ');
document.write(' swLiveConnect=FALSE WIDTH="980" HEIGHT="30" NAME="homepage_container" ALIGN=""');
document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
document.write(' </EMBED>');
document.write(' </OBJECT>');
}
else{
document.write('<A href="http://www.adobe.com/products/flashplayer/">You must download Flash - click here</a>');
}
/* <param name="allowScriptAccess" value="always"> is what allows it to work in blogger */
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|