PDA

View Full Version : swf not showing in IE


soundchaseruk
05-23-2010, 06:29 AM
I have never had a problem with swf banners or slideshows (made in DW as INSERT...MEDIA...IMAGE VIEWER ) but when i upload in browser noin work. When I preview the swf files then show fine in DW.

I need to get this working. Can someone please advise me as to where I am going wrong. ? It has to be something simple.

Coding :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
Name : Small Window
Description: A three-column, fixed-width blog design.
Version : 1.0
Released : 20090531
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Small Window by Free CSS Templates</title>
<meta name="keywords" content="" />
<meta name="Small Window " content="" />
<link href="file:///C|/Users/famharris/Documents/Web Design kh/Template download/smallwindow/default.css" rel="stylesheet" type="text/css" media="screen" />
<script src="file:///C|/Users/famharris/Documents/Web Design kh/Template download/smallwindow/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
.style1 {
font-size: 14px;
color: #FFFFFF;
}
.style4 {
color: #FF0000;
font-family: Arial, Helvetica, sans-serif;
}
.style7 {
font-size: 24px;
color: #FFFFFF;
}
.style8 {color: #FFFFFF}
-->
</style>
</head>
<body>
<!-- start header -->
<div id="header">
<div id="menu">
<ul id="main">


<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1000','heig ht','150','src','assetts/total','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','assetts/total' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1000" height="150">
<param name="movie" value="assetts/total.swf" />
<param name="quality" value="high" />
<embed src="assetts/total.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1000" height="150"></embed>
</object></noscript>
<p align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','600','heigh t','28','align','middle','src','assetts/you dream ticka','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','assetts/you dream ticka' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="600" height="28" align="middle">
<param name="movie" value="assetts/you dream ticka.swf" />
<param name="quality" value="high" />
<embed src="assetts/you dream ticka.swf" width="600" height="28" align="middle" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
</object>
</noscript>

<li><a href="index.html" class="style1">HOME</a></li>
<li><a href="Roofing.html">ROOFING</a></li>
<li><a href="landscaping.html">LANDSCAPING</a></li>
<li><a href="Driveways.html">DRIVEWAYS</a></li>
<li><a href="#">TELEPHONE US FOR A QUOTE : FREEPHONE 0800 019 0161, or 07788 573665</a></li>
</ul>
<p>&nbsp; </p>
</div>
</div>
<!-- end header -->
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="content2">
<div style="padding-bottom: 20px;"></div>
<div class="title">
<h2 class="title"><a href="#">Our Building Services</a> <span class="style8">:Driveways</span></h2>
<p class="title"><span class="sidebar">Although we are Professional Driveway Specialists, we offer a wide range of General Building Services which we have many years of experience in. All work is Guarenteed and you don't pay a penny until you are satisfied. Primarily we are specialists in Driveway construction, from tarmac, brick or block paviors and laid to a variety of patterns. We only use the best quality materials for our work</span></p>
<p class="title">&nbsp;</p>
<p class="title">&nbsp;</p>
<p class="title style7">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','400','heigh t','325','hspace','80','src','dv','quality','high' ,'flashvars','flashlet={imageLinkTarget:\'_blank\' ,captionFont:\'Verdana\',titleFont:\'Verdana\',sho wControls:true,frameShow:false,slideDelay:5,captio nSize:10,captionColor:#333333,titleSize:10,transit ionsType:\'Fade\',titleColor:#333333,slideAutoPlay :true,imageURLs:[\'slide drives/Scan330, May 14, 2010_409x282.png\',\'slide drives/Scan329, May 14, 2010_409x282.png\',\'slide drives/Scan332, May 14, 2010_409x292.png\',\'slide drives/Scan331, May 14, 2010_409x292.png\',\'slide drives/Scan337, May 14, 2010_409x274.png\',\'slide drives/Scan335, May 14, 2010_409x278.png\'],slideLoop:true,frameThickness:2,imageLinks:[\'http://macromedia.com/\',\'http://macromedia.com/\',\'http://macromedia.com/\'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[],title:\'Driveways\'}','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','flas h_component','ImageViewer.swc','movie','dv' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="400" height="325" hspace="80">
<param name="flash_component" value="ImageViewer.swc" />
<param name="movie" value="dv.swf" />
<param name="quality" value="high" />
<param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Ve rdana',titleFont:'Verdana',showControls:true,frame Show:false,slideDelay:5,captionSize:10,captionColo r:#333333,titleSize:10,transitionsType:'Fade',titl eColor:#333333,slideAutoPlay:true,imageURLs:['slide drives/Scan330, May 14, 2010_409x282.png','slide drives/Scan329, May 14, 2010_409x282.png','slide drives/Scan332, May 14, 2010_409x292.png','slide drives/Scan331, May 14, 2010_409x292.png','slide drives/Scan337, May 14, 2010_409x274.png','slide drives/Scan335, May 14, 2010_409x278.png'],slideLoop:true,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[],title:'Driveways'}" />
<embed src="dv.swf" width="400" height="325" hspace="80" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Ve rdana',titleFont:'Verdana',showControls:true,frame Show:false,slideDelay:5,captionSize:10,captionColo r:#333333,titleSize:10,transitionsType:'Fade',titl eColor:#333333,slideAutoPlay:true,imageURLs:['slide drives/Scan330, May 14, 2010_409x282.png','slide drives/Scan329, May 14, 2010_409x282.png','slide drives/Scan332, May 14, 2010_409x292.png','slide drives/Scan331, May 14, 2010_409x292.png','slide drives/Scan337, May 14, 2010_409x274.png','slide drives/Scan335, May 14, 2010_409x278.png'],slideLoop:true,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[],title:'Driveways'}" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"> </embed>
</object>
</noscript>
</p>
<p class="title style7">&nbsp;</p>
<p class="title style7">
</ul>
</p>
</div>
</div>
<!-- start content --><!-- end content -->
<!-- end sidebars -->
</div>
<!-- end page -->
</div>
<div id="footer">
<p class="style4">DESIGNED AND MANAGED BY SOUNDCHASER WEB DESIGN.</p>
</div>
</body>
</html>

Corrosive
05-23-2010, 08:12 AM
Hi SCUK. You've been here long enough to know we don't mind you posting code but please use code tags. Thank you.

Code looks ok. Just check all your paths and file locations see if they are all correct. Check these as well...

<link href="file:///C|/Users/famharris/Documents/Web Design kh/Template download/smallwindow/default.css" rel="stylesheet" type="text/css" media="screen" />
<script src="file:///C|/Users/famharris/Documents/Web Design kh/Template download/smallwindow/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

They point to your hard drive.

gentleone
05-23-2010, 09:03 AM
Ans placing a swf object right after an opening <ul> tag is also not really good practice. Does your menu work like this?

<ul id="main">


<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1000','heig ht','150','src','assetts/total','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','assetts/total' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=9,0,28,0 (http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0)" width="1000" height="150">
<param name="movie" value="assetts/total.swf" />
<param name="quality" value="high" />
<embed src="assetts/total.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/downl...ShockwaveFlash (http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash)" type="application/x-shockwave-flash" width="1000" height="150"></embed>
</object></noscript>
<p align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','600','heigh t','28','align','middle','src','assetts/you dream ticka','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','assetts/you dream ticka' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=9,0,28,0 (http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0)" width="600" height="28" align="middle">
<param name="movie" value="assetts/you dream ticka.swf" />
<param name="quality" value="high" />
<embed src="assetts/you dream ticka.swf" width="600" height="28" align="middle" quality="high" pluginspage="http://www.adobe.com/shockwave/downl...ShockwaveFlash (http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash)" type="application/x-shockwave-flash"></embed>
</object>
</noscript>

<li><a href="index.html" class="style1">HOME</a></li>
<li><a href="Roofing.html">ROOFING</a></li>
<li><a href="landscaping.html">LANDSCAPING</a></li>
<li><a href="Driveways.html">DRIVEWAYS</a></li>
<li><a href="#">TELEPHONE US FOR A QUOTE : FREEPHONE 0800 019 0161, or 07788 573665</a></li>
</ul>