Results 1 to 4 of 4

Thread: css & flash issue maybe

  1. #1
    Registered bbolte's Avatar
    Join Date
    Mar 2006
    Location
    Kansas
    Posts
    116

    Question css & flash issue maybe

    i'm thinking this is probably a css issue, but not sure. i have a small flash element in the header, that only shows in IE, not if FF or Opera. the flash plugin is current in all browsers and i can see other flash stuff, just not on this page. here's the html bit:
    Code:
    <div class="headerImg">
    			<!-- <img src="assets/images/systems/systems1.jpg" border="0" width="400" height="100" alt="" /> -->   
    			<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
     WIDTH="280" HEIGHT="110" id="header" ALIGN="">
     <PARAM NAME=movie VALUE="assets/swf/header.swf"> <PARAM NAME=quality VALUE=autohigh> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="header.swf" quality=autohigh bgcolor=#FFFFFF  WIDTH="280" HEIGHT="110" NAME="header" ALIGN=""
     TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>
    		</div>
    		<img src="assets/images/fsg-logo-hor.gif" border="0" width="421" height="115" alt="Florida State Games" hspace="10" />
            
          </div>
    and here's the css bit:
    Code:
    .headerImg {
    	float: right;
    	clear: both;
    	padding: 0 1em -2em 0;
    	margin: 0 1em -2em 0;
    }
    the page in question can be seen here ...

    anyone have any ideas?

  2. #2
    Your average angry alien dc dalton's Avatar
    Join Date
    Mar 2006
    Location
    Stuck in FREAKING PA
    Posts
    127
    Your problem has nothing to do with your CSS, its the path you have in your Flash tag:

    Code:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
     WIDTH="280" HEIGHT="110" id="header" ALIGN="">
     <PARAM NAME=movie VALUE="assets/swf/header.swf"> <PARAM NAME=quality VALUE=autohigh> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="header.swf" quality=autohigh bgcolor=#FFFFFF  WIDTH="280" HEIGHT="110" NAME="header" ALIGN=""
     TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    
    </OBJECT>
    Notice on the embed tag you have this for the path

    src="header.swf"

    when in fact it should be

    src="assets/swf/header.swf"

    change that it works fine


    IE uses the param tag to find the movie, Netscape based browers (Mozilla, Gecko all those) use the embed
    Last edited by dc dalton; 03-08-2006 at 08:21 AM.

  3. #3
    Registered bbolte's Avatar
    Join Date
    Mar 2006
    Location
    Kansas
    Posts
    116
    oh man, i knew that! thanks dalton...

  4. #4
    Your average angry alien dc dalton's Avatar
    Join Date
    Mar 2006
    Location
    Stuck in FREAKING PA
    Posts
    127
    BTW, get rid of all that <!--//--><![CDATA[//><!-- junk, you dont need it and I would also suggest changing that to xhtml transistional, then do some quick validation

Similar Threads

  1. pure flash search engines friendly
    By organ in forum Search Engine Optimization
    Replies: 3
    Last Post: 02-08-2006, 12:50 PM
  2. New Flash TRAILER system
    By Emancipator in forum User Owned Websites
    Replies: 24
    Last Post: 02-07-2006, 07:55 AM
  3. CSS and Flash
    By Masetek in forum HTML, CSS, Layout, and Design
    Replies: 7
    Last Post: 02-02-2006, 10:13 PM
  4. Flash Games CMS System
    By Emancipator in forum Website Programming & Databases
    Replies: 5
    Last Post: 07-05-2005, 02:13 PM
  5. flash mx
    By eMEraLdwPn in forum Graphics & Multimedia
    Replies: 7
    Last Post: 12-26-2004, 01:27 PM

Bookmarks

Posting Permissions

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