2 Replies Latest reply on Sep 8, 2010 4:17 AM by spinkowalski

    swfobject.embedSWF transparency issue

    spinkowalski

      Hello,

       

      I've embeded a flash movie but I'm having problems getting the transparency to work. Any ideas greatly appreciated.

       

      Damien happy.gif

       

      Here is the code :-

       

       

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

          <head>

              <title>John Sike</title>

              <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

              <script type="text/javascript" src="js/swfobject.js"></script>

              <script type="text/javascript" src="js/swfaddress.js"></script>

      <script type="text/javascript"> 

      var params = {

      allowFullScreen: "true"

      };

      var flashvars = {};

              var params = {};

              params.wmode = "transparent";

              swfobject.embedSWF('preview.swf', 'website', '100%','100%', '9.0.0', 'js/expressinstall.swf',null, params);

              </script>

              <style type="text/css">

        html, body, #website {

      height:100%;

      background-color: #0F0;

      }

        body { margin:0; padding:0; overflow:hidden; }

              </style>

          </head>

          <body>

              <div id="website">

                  <p>In order to view this page you need Flash Player 9+ support!</p>

                  <p>

                      <a href="http://www.adobe.com/go/getflashplayer">

                          <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.g if" alt="Get Adobe Flash player" />

                      </a>

                  </p>

              </div>

          </body>

      </html>