Flash Banner Doesn't Load Right In IE7

Discussion in 'Graphics & Multimedia' started by brandonvd, Oct 31, 2008.

  1. #1
    I put a flash banner in my site, but for some reason I am having trouble with it. With Firefox the flash sometimes doesn't load and with IE6 and IE7 the first time the page is loaded the links don't work. If you click on a link and then go back to the home page the flash links work fine.

    I don't know if my explanation is enough of not, but if you check out:

    http://www.saltwatertogo.com

    You will see what I mean.

    The code I put into my site is:

    <div id="flash">{literal}<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', '590',
    			'height', '300',
    			'src', 'banner',
    			'quality', 'high',
    			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
    			'align', 'middle',
    			'play', 'true',
    			'loop', 'true',
    			'scale', 'showall',
    			'wmode', 'transparent',
    			'devicefont', 'false',
    			'id', 'banner',
    			'bgcolor', '#000000',
    			'name', 'banner',
    			'menu', 'true',
    			'allowFullScreen', 'false',
    			'allowScriptAccess','sameDomain',
    			'movie', 'banner', 'http://www.saltwatertogo.com/',
    			'salign', ''
    			); //end AC code
    	}
    </script>{/literal}
    <noscript>
    	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="590" height="300" id="banner" align="middle">
    	<param name="allowScriptAccess" value="sameDomain" />
    	<param name="allowFullScreen" value="false" />
    	<param name="movie" value="http://www.saltwatertogo.com/banner.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#000000" />	<embed src="banner.swf" quality="high" wmode="transparent" bgcolor="#000000" width="590" height="300" name="banner" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    	</object>
    </noscript>
    </div>
    Code (markup):
    This is a xml driven banner and the settings.xml file looks like:

    <xml>
    <settings 
    timer = "100"
    progress_color="0xFED801"
    line_color="0xFED801"
    num_color="0xFED801"
    >
    </settings>
    
    <image file="images/flash/refugium.jpg" url="http://www.saltwatertogo.com/cpr-aquafuge-pro-large.html"></image>
    <image file="images/flash/sump.jpg" url="http://www.saltwatertogo.com/truvu-platinum-series-skimmer-sump-300.html"></image>
    <image file="images/flash/light.jpg" url="http://www.saltwatertogo.com/coralife-48-aqualight-pro-2x-250w-hqi-2x96w-pc-3x1w-lunar.html"></image>
    <image file="images/flash/bullet.jpg" url="http://www.saltwatertogo.com/precision-marine-bullet-1-protein-skimmer.html"></image>
    <image file="images/flash/tank.jpg" url="http://www.saltwatertogo.com/truvu-55-l-aquarium-and-stand-combo.html"></image>
    </xml>
    Code (markup):
    I hope someone can help.

    Brandon
     
    brandonvd, Oct 31, 2008 IP