0 Replies Latest reply on Feb 8, 2010 6:20 AM by dale@dalehonning.com

    Load flash player but do not play

    dale@dalehonning.com

      I would like to add several swf's to a web page. Currently, when I load the page all of the players begin playing. How do I adjust the code so they only plac when clicked on?

       

      Thanks in advance for your help.

       

      Below is a sample of the script....

       

      <script language="javascript">
      if (AC_FL_RunContent == 0) {
        alert("This page requires AC_RunActiveContent.js.");
      } else {
        AC_FL_RunContent(
         'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
         'width', '480',
         'height', '309',
         'src', 'FPLewisWeb',
         'quality', 'high',
         'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
         'align', 'middle',
         'play', 'true',
         'loop', 'true',
         'scale', 'showall',
         'wmode', 'window',
         'devicefont', 'false',
         'id', 'FPLewisWeb',
         'bgcolor', '#a4a093',
         'name', 'FPLewisWeb',
         'menu', 'true',
         'allowFullScreen', 'false',
         'allowScriptAccess','sameDomain',
         'movie', 'FPLewisWeb',
         'salign', ''
         ); //end AC code
      }
      </script>
      <noscript>
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="480" height="309" id="FPLewisWeb" align="middle">
      <param name="allowScriptAccess" value="sameDomain">
      <param name="allowFullScreen" value="false">
      <param name="movie" value="FPLewisWeb.swf"><param name="quality" value="high"><param name="bgcolor" value="#a4a093"><embed src="FPLewisWeb.swf" quality="high" bgcolor="#a4a093" width="480" height="309" name="FPLewisWeb" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
      </object>
      </noscript>