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

April 20, 2001 - Autostarting an SWF | 6

<HTML>
<HEAD>
  <SCRIPT SRC="flashsound.js"></SCRIPT>
  <SCRIPT>
    var mySoundObj = new FlashSound();
  </SCRIPT>
</HEAD>
<BODY>
<SCRIPT>
  mySoundObj.loop = true;
  mySoundObj.autostart = true;
  mySoundObj.embedSWF("theme.swf");
</SCRIPT>
</BODY>
</HTML>