8 Replies Latest reply on Dec 3, 2010 8:45 AM by ggggenoMU69

    .swf file causing breaks/extra spaces in html page.

    ggggenoMU69

      Good evening all.

       

      I put together an .html page using a photoshop jpg that I sliced into sections. I was asked to replace two graphics from the original .jpg file with animated content of the same size. Using my slices as a guide for size, I created the two animated graphics in flash and saved them out as .swf files. They are both the exact same size(px) as the static images. I opened my newly sliced html file in dreamweaver, deleted the static images and placed the .swf files.

       

      For some reason the .swf files cause gaps in my html pages. There are no borders on the .swf files and I can't figure what I've done wrong.

       

      One note: It seems to only ad space when viewing from Mozilla. Havent' tested it on a pc yet either.

       

      Below is the link to the test page:

      http://www.stoneislandent.ws/index2.html

       

      Below is code for the left hand speaker:

          <td colspan="3" rowspan="4"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="246" height="378">
                <param name="movie" value="index_images/speaker_left.swf">
                <param name="quality" value="high">
                <param name="wmode" value="opaque">
                <param name="swfversion" value="7.0.70.0">
                <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="index_images/speaker_left.swf" width="246" height="378">
                  <!--<![endif]-->
                  <param name="quality" value="high">
                  <param name="wmode" value="opaque">
                  <param name="swfversion" value="7.0.70.0">
                  <param name="expressinstall" value="Scripts/expressInstall.swf">
                  <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                  <div>
                    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                    <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>
                  <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
              </object></td>

       

      Any and all help is appreciated.

       

      Thanks.

       

      Gene