...

View Full Version : HTML Issue regarding ActiveX Controls



ConceptionGD
06-12-2010, 12:45 PM
Hi there,

I am creating a website using dreamweaver html and css.

I am having issues embedding a .swf file to the code, it does not show in ie. I have the latest version of ie installed on my pc and I have the activeX flash player installed also.

When I preview the file a banner appears saying blocked content and when you allow it nothing happens. If I am having this issue others are bound to hence I would like it resolved before the site goes live.

Can any one help me please???

CODE:-

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--[if lt IE 6.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Future Limo Buses</title>
<style type="text/css">
<!--
body {
font-family:Verdana, Geneva, sans-serif;
border:none;
background-color:#000;
}
#Wrapper {
width:800px;
margin:0 auto;
}
#Background {
height:600px;
width:800px;
background-image:url(../future_root/Images/Background%20images/gallery.png);
background-repeat:no-repeat;
background-position:center;
}
#Logo {
border:none;
background-image:url(../future_root/Images/Misc/gold%20logo.png);
background-repeat:no-repeat;
height:89px;
width:281px;
margin-top:-570px;
margin-left:480px;
}
#PageHeader {
border:none;
background-image:url(../future_root/Images/Page%20Headers/gallery.png);
background-repeat:no-repeat;
height:26px;
width:215px;
margin-top:-50px;
margin-left:40px;
}
#Navigation {
border:none;
height:350px;
width:153px;
margin-top:103px;
margin-left:30px;
}
#Seperator {
border:none;
height:350px;
width:3px;
background-image:url(../future_root/Images/Misc/seperator.png);
background-repeat:no-repeat;
margin-top:-343px;
margin-left:190px;
}
#Links {
height:22px;
width:221px;
margin-top:-10px;
margin-left:540px;
}
#PageInfo {
border:none;
text-align:center;
height:350px;
width:550px;
margin-top:-450px;
margin-left:210px;
}
#Navigation a {
background-repeat:no-repeat;
display:block;
}
a.home, a.contact, a.links, a.testimonials, a.gallery, a.about {
margin-top:30px;
height:18px;
}
a.future {
margin-top:20px;
width:107px;
height:35px;
}
a.home {
width:49px;
}
a.links {
width:44px;
}
a.testimonials {
width:107px;
}
a.about {
width:76px;
}
a.contact {
width:90px;
}
a.gallery {
width:60px;
}
a.home:link, a.home:visited {
background-image:url(../future_root/Images/Navigation%20Bar/homewhite.png);
}
a.home:hover, a.home:active {
background-image:url(../future_root/Images/Navigation%20Bar/homegrey.png);
}
a.about:link, a.about:visited {
background-image:url(../future_root/Images/Navigation%20Bar/aboutuswhite.png);
}
a.about:hover, a.about:active {
background-image:url(../future_root/Images/Navigation%20Bar/aboutusgrey.png);
}
a.future:link, a.future:visited {
background-image:url(../future_root/Images/Navigation%20Bar/thefutureexperiencewhite.png);
}
a.future:hover, a.future:active {
background-image:url(../future_root/Images/Navigation%20Bar/thefutureexperiencegrey.png);
}
a.gallery:link, a.gallery:visited, a.gallery:hover, a.gallery:active {
background-image:url(../future_root/Images/Navigation%20Bar/gallerygrey.png);
}
a.testimonials:link, a.testimonials:visited {
background-image:url(../future_root/Images/Navigation%20Bar/testimonialswhite.png);
}
a.testimonials:hover, a.testimonials:active {
background-image:url(../future_root/Images/Navigation%20Bar/testimonialsgrey.png);
}
a.links:link, a.links:visited {
background-image:url(../future_root/Images/Navigation%20Bar/linkswhite.png);
}
a.links:hover, a.links:active {
background-image:url(../future_root/Images/Navigation%20Bar/linksgrey.png);
}
a.contact:link, a.contact:visited {
background-image:url(../future_root/Images/Navigation%20Bar/contactuswhite.png);
}
a.contact:hover, a.contact:active {
background-image:url(../future_root/Images/Navigation%20Bar/contactusgrey.png);
}
-->
</style>
</head>
<body>
<div id="Wrapper">
<div id="Background"></div>
<div id="Logo"></div>
<div id="PageHeader"></div>
<div id="Navigation">
<a class="home" href="../future_root/index.html"></a>
<a class="about" href="../future_root/aboutus.html"></a>
<a class="future" href="../future_root/future.html"></a>
<a class="gallery" href="../future_root/gallery.html"></a>
<a class="testimonials" href="../future_root/testimonials.html"></a>
<a class="links" href="../future_root/links.html"></a>
<a class="contact" href="../future_root/contactus.html"></a>
</div>
<div id="Seperator"></div>
<div id="Links">
<a href="http://www.facebook.com/pages/Future-Limo-Buses/113455505345741">
<img src="../future_root/Images/Misc/facebook.png" border="0" height="22" width="89" align="right"/>
</a>
<a href="http://www.got-the-concept.co.uk" >
<img src="../future_root/Images/Misc/copyright.png" border="0" height="22" width="121" align="left" />
</a>
</div>
<div id="PageInfo">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-44455350000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="550" height="400" id="myMovieName">
<param name="movie" value="../future_root/Images/Gallery/gallery.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#FFFFFF">
<param name="wmode" value="transparent">
<embed src="../future_root/Images/Gallery/gallery.swf" quality="high" bgcolor="#FFFFFF" width="550" height="400" name="gallery" align="" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer" wmode="transparent">
</embed>
</object>
</div>
</div>
</body>
</html>

VIPStephan
06-12-2010, 01:35 PM
If you want to embed SWF files in websites use SWFObject (http://code.google.com/p/swfobject/).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum