[thelist] Flash Javascript Loop Problem

Annie annie at twitch.ca
Fri Jun 22 15:38:52 CDT 2001


A client wants me to use the following script to embed all of their flash
into their interface. problem is, using this all of the flash flicks loop. I
can't have them looping, any idea how i would stop this from looping using
the same script?
TIA!!

<script language="javascript">
<!--

if (vFlash)
{ 
var hasFlash='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="315" height="187"><param name=movie value="images/0050d.swf"><param name=quality value=high><embed src="images/0050d.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="315" height="187"></embed></object>'
document.writeln(hasFlash)      
}
     
else
{
document.writeln('<img src="images/0050d.gif" alt="0050c.gif">')
}
        
<!--end-->
</script>






More information about the thelist mailing list