0 Replies Latest reply on Jun 19, 2008 9:45 AM by RaymondS.

    Deploy Flash in IE7

    RaymondS.
      Hi

      Please help, i need to deploy a flash content by javascript and that javascript MUST be inside the header tag.
      The AC_RunActiveContent.js is the one that created by the Adobe Flash CS3. The problem is when I run the page it won't show anything. But if i add onload into the body tag <body onload=runswf()> where the runswf will have the AC_FL_RunContent. This i will see the flash but the content of the page will be gone.

      Thanks,
      Ray

      For example
      <html>
      <head>
      <script type="text/javascript" src="AC_RunActiveContent.js" ></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=8,0,0,0',
      'width', '390',
      'height', '180',
      'src', 'popup',
      'quality', 'high',
      'pluginspage', ' http://www.macromedia.com/go/getflashplayer',
      'align', 'middle',
      'play', 'true',
      'loop', 'true',
      'scale', 'showall',
      'wmode', 'window',
      'devicefont', 'false',
      'id', 'popup',
      'bgcolor', '#000000',
      'name', 'popup',
      'menu', 'true',
      'allowFullScreen', 'false',
      'allowScriptAccess','sameDomain',
      'movie', 'popup',
      'salign', ''
      ); //end AC code
      }

      </SCRIPT>
      </head>
      <body>
      bah bah bah bah
      </body>
      </html>