pop32
02-13-2008, 12:34 AM
I am using a script that dynamically resizes a flash movie on click using JavaScript. For some reason, Windows Vista will not present the site correctly (does not resize correctly, or load in smoothly). I was able to figure out that when Windows Vista "protected mode" in the internet options is set to "OFF," the site presents itself flawlessly.
My question is, has anyone ever experienced problems with Windows Vista and flash, and also, could it be the "resize" script that's causing the problem?
Here is how I'm coding the flash andf I've attached the JavaScript file to this post. Any help would be greatly appreciated.
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '100%',
'height', '100%',
'src', 'index',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'top',
'play', 'true',
'loop', 'true',
'scale', 'noscale',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'index',
'bgcolor', '#000000',
'name', 'index',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'index',
'salign', 'lt'
); //end AC code
}
</script>
My question is, has anyone ever experienced problems with Windows Vista and flash, and also, could it be the "resize" script that's causing the problem?
Here is how I'm coding the flash andf I've attached the JavaScript file to this post. Any help would be greatly appreciated.
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '100%',
'height', '100%',
'src', 'index',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'top',
'play', 'true',
'loop', 'true',
'scale', 'noscale',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'index',
'bgcolor', '#000000',
'name', 'index',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'index',
'salign', 'lt'
); //end AC code
}
</script>