www.webdeveloper.com
Results 1 to 2 of 2

Thread: Huge space between swf image and swf object

  1. #1
    Join Date
    Dec 2011
    Posts
    1

    Huge space between swf image and swf object

    Hi everyone. This is my first thread here so if something isn't right sorry in advance!

    I've got a problem in IE 7 when I'm inserting swf file next to the image there are a huge space in between!

    Here is the code fragment:

    <p class = "first"><a href = "products.html" target="_self"><img src = "buttons/small3/products.png" /></a>&nbsp;<!--object width="198" height="88"><param name="movie" value="./buttons/Danilo_2010_2bleSbendPass__all__.swf"><param name="BGCOLOR" value="#000000"><noscript><embed src="./buttons/Danilo_2010_2bleSbendPass__all__.swf" width="198" height="88"></embed></noscript>
    </object-->
    <OBJECT type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="198" HEIGHT="88" id="Danilo_2010_2bleSbendPass__all__">
    <PARAM NAME=movie VALUE="Danilo_2010_2bleSbendPass__all__.swf">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE=#000000>
    <EMBED src="./buttons/Danilo_2010_2bleSbendPass__all__.swf" quality=high bgcolor=#000000 WIDTH="198" HEIGHT="88" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
    </EMBED>
    </OBJECT>
    <!--[if IE]>
    <object id="mySWF" width="198" height="88" border="0"
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param name="movie" value="./buttons/Danilo_2010_2bleSbendPass__all__.swf" />
    <param name="bgcolor" value="#000000">

    </object>
    <![endif]-->
    </p>

  2. #2
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Space is most likely because you've got the .swf doubled up, placed on the page twice.... what with the IE conditional and all. why did you use that by the way?
    Code:
    <!--[if IE]>
    <object id="mySWF" width="198" height="88" border="0"
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param name="movie" value="./buttons/Danilo_2010_2bleSbendPass__all__.swf" />
    <param name="bgcolor" value="#000000">
    
    </object>
    <![endif]-->
    ..you already have the <object>and <embed> above that.
    Post that link and let us see the actual page for best help.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles