Forum Moderators: open
<script type="text/javascript">
<!--
if (flash.ver[6]) { var oeTags = '<object type="application/x-shockwave-flash" data="swf/intro.swf" width="700" height="375">'
+ '<param name="movie" value="swf/intro.swf" />'
+ '<param name="menu" value="false" />'
+ '</object>';
document.write(oeTags); }
else if (flash.installed) { var oldFlash = '<img src="images/oldflash.gif" alt="Old version of Flash plug-in installed. Please update by clicking here" />';
document.write(oldFlash); }
else { var noFlash = '<img src="images/noflash.gif" alt="Flash plug-in not installed. To view the intro sequence, you will need to install it by clicking here" />';
document.write(noFlash.htm); }
//-->
</script>
Is there something wrong with the syntax? I have tried a different PNG transparency script and it still doesn't work.
Thanks!
Is this how you reference a Flash object?
Does the variable, flash, hold a reference to anything?
> document.write(noFlash.htm);
You can't write a file using doc.write.
This will cause an error anyway, since there is no defined variable, noFlash, (and thus it can't have a property, htm).