April 20, 2001 - Autostarting an SWF | 8 | WebReference

April 20, 2001 - Autostarting an SWF | 8

Play Now
<HTML>
<HEAD>
  <SCRIPT SRC="flashsound.js"></SCRIPT>
  <SCRIPT>
    var mySoundObj = new FlashSound();
  </SCRIPT>
</HEAD>
<BODY>
<A HREF="javascript://" onmouseover="mySoundObj.TGotoAndPlay('/',1)">Play Now</A>
<SCRIPT>
  mySoundObj.loop = true;
  mySoundObj.autostart = false;
  mySoundObj.embedSWF("theme.swf");
</SCRIPT>
</BODY>
</HTML>