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

April 20, 2001 - Autostarting an SWF | 7

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