homepage Welcome to WebmasterWorld Guest from 50.19.169.37
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Problem with Flash in IE
jayplay28




msg:4005695
 5:47 pm on Oct 12, 2009 (gmt 0)

Hi all,

I have a site which has a flash header, it plays fine in Firefox and Chrome but it doesnt show up correctly in IE... what could be the problem and how do I fix it?

TIA

Kind Regards
Jay

[edited by: eelixduppy at 7:44 pm (utc) on Oct. 13, 2009]
[edit reason] no URLs, please [/edit]

 

jayplay28




msg:4005719
 6:15 pm on Oct 12, 2009 (gmt 0)

just to add it loads fine in IE but once you click on a new page on site it distorts the player.

StoutFiles




msg:4005722
 6:21 pm on Oct 12, 2009 (gmt 0)

Is gzip on? We can't go to your site, you'll have to provide code.

jayplay28




msg:4005741
 6:40 pm on Oct 12, 2009 (gmt 0)

sorry not familiar with Gzip, not a web designer so please bear with me.

here is some html code for the player (I take it thats what you need?

<div id="vid_1" style="position:absolute; left:50px; top:21px; width:800px; height:276px;">
<script language="JavaScript" type="text/javascript">
<!--
var hasReqestedVersion = DetectFlashVer(8, 0, 0);
if (hasReqestedVersion)
{
AC_FL_RunContent(
"src", "monoslideshow",
"play", "true",
"loop", "true",
"width", "800",
"height", "276",
"salign", "C",
"scale", "ExactFit",
"id", "vid_1",
"quality", "High",
"wmode", "transparent",
"name", "vid_1",
"type", "application/x-shockwave-flash",
'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
"pluginspage", "http://www.macromedia.com/go/getflashplayer"
);
}
else
{
var alternateContent = 'An old version of the Flash plugin was detected. <strong><a href="http://www.macromedia.com/go/getflash/">Please upgrade your Flash plugin.<\/a><\/strong>';
document.write(alternateContent);
}
-->
</script>

[edited by: eelixduppy at 7:45 pm (utc) on Oct. 13, 2009]

StoutFiles




msg:4005778
 7:55 pm on Oct 12, 2009 (gmt 0)

Prevent caching and see what happens.

<HEAD><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"></HEAD>

Make sure you completely purge your browser before testing.

jayplay28




msg:4005782
 8:02 pm on Oct 12, 2009 (gmt 0)

thanks for the reply StoutFiles, however it didnt solve the problem. any other suggestions?

StoutFiles




msg:4005892
 10:49 pm on Oct 12, 2009 (gmt 0)

See if it's a Javascript problem.

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=800 HEIGHT=276>
<PARAM NAME=movie VALUE="http://www.example.com/file_name.swf">
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=wmode VALUE=transparent>
<PARAM NAME=bgcolor VALUE=#737360>
<EMBED src="http://www.example.com/file_name.swf" menu=false quality=high wmode=transparent
bgcolor=#737360 WIDTH=800 HEIGHT=276 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>

Obviously, replace http://www.example.com/file_name.swf with the path to your .swf

jayplay28




msg:4005914
 11:20 pm on Oct 12, 2009 (gmt 0)

StoutFiles once again thanks, please excuse my ignorance but where do i put this code, on the html page or in the actual javascript? I built my site apart from the flash but still not that clued up when it comes to this sort of stuff :-(

Please bear with me

StoutFiles




msg:4006145
 10:33 am on Oct 13, 2009 (gmt 0)

In the HTML where you want the video to appear. This is a Javascript-free solution.

jayplay28




msg:4006182
 12:27 pm on Oct 13, 2009 (gmt 0)

still no joy StoutFiles

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en-us">
<head>
<
<style type="text/css">
<!--
body {margin: 0px; padding: 0px;}
a:link {color: #ff0000;}
a:visited {color: #ffffff;}
a:hover {color: #ffffff;}
a:active {color: #ffffff;}
.Normal-P
{
margin:0.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
}
.Normal-C
{
font-family:"Verdana", sans-serif; font-size:12.0px;
line-height:1.17em; color:#a0a0a0;
}
.Normal-C0
{
font-family:"Verdana", sans-serif; font-size:13.0px;
line-height:1.23em; color:#a0a0a0;
}
.Normal-C1
{
font-family:"Verdana", sans-serif; font-size:16.0px;
line-height:1.13em;
}
.Normal-C2
{
font-family:"Trebuchet MS", sans-serif; font-weight:700;
font-size:9.0px; line-height:1.67em; color:#ffffff;
}
.Normal-C3
{
font-family:"Verdana", sans-serif; font-size:12.0px;
line-height:1.17em; color:#ffffff;
}
-->
</style>
<script src="wpscripts/jsFlashVer.js" type="text/javascript"></script>
<script type="text/javascript"><!--
var blankSrc = "wpscripts/blank.gif";
--></script>
<script src="wpscripts/jspngfix.js" type="text/javascript"></script>
<script src="wpscripts/jsRollover.js" type="text/javascript">
</script>
<script type="text/javascript">
<!--
PPImgInit('tg_29','wpimages/wp929516d5.png','wpimages/wpd9053a91.png','','',0,0);
PPImgInit('tg_30','wpimages/wp40448aa1.png','wpimages/wp58af5fb0.png','','',0,0);
PPImgInit('tg_31','wpimages/wp55e001d3.png','wpimages/wp8420cb92.png','','',0,0);
PPImgInit('tg_32','wpimages/wp859b7ca2.png','wpimages/wp73a3e85a.png','','',0,0);
PPImgInit('tg_33','wpimages/wp95845e4a.png','wpimages/wp4e4a7989.png','','',0,0);
PPImgInit('tg_34','wpimages/wpb7436be6.png','wpimages/wpb2815508.png','','',0,0);
//-->
</script>
</head>

<body text="#000000" style="background: #000000; text-align:center; height:800px;">
<div style="background: #000000; position:relative;width:900px;height:800px;margin-left:auto;margin-right:auto;">
<div style="position:absolute; left:720px; top:346px; width:164px; height:19px;">
<img src="page images/Tel.png" width="164" height="19" border="0" id="art_9" name="art_9" title="" alt="TEL: 07903 836203" onload="OnLoadPngFix()"></div>
<div style="position:absolute; left:9px; top:301px; width:147px; height:37px;">
<a href="index.html" onMouseOut="PPImgAction('out','tg_29')" onMouseOver="PPImgAction('over','tg_29')" title="HOME"><img src="wpimages/wp929516d5.png" width="147" height="37" border="0" id="tg_29" name="tg_29" title="" alt="HOME." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:156px; top:301px; width:147px; height:37px;">
<a href="treatments.html" onMouseOut="PPImgAction('out','tg_30')" onMouseOver="PPImgAction('over','tg_30')" title="TREATMENTS"><img src="wpimages/wp40448aa1.png" width="147" height="37" border="0" id="tg_30" name="tg_30" title="" alt="TREATMENTS." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:303px; top:301px; width:147px; height:37px;">
<a href="portfolio.html" onMouseOut="PPImgAction('out','tg_31')" onMouseOver="PPImgAction('over','tg_31')" title="PORTFOLIO"><img src="wpimages/wp55e001d3.png" width="147" height="37" border="0" id="tg_31" name="tg_31" title="" alt="PORTFOLIO." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:450px; top:301px; width:147px; height:37px;">
<a href="testimonials.html" onMouseOut="PPImgAction('out','tg_32')" onMouseOver="PPImgAction('over','tg_32')" title="TESTIMONIALS"><img src="wpimages/wp859b7ca2.png" width="147" height="37" border="0" id="tg_32" name="tg_32" title="" alt="TESTIMONIALS." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:597px; top:301px; width:147px; height:37px;">
<a href="faq.html" onMouseOut="PPImgAction('out','tg_33')" onMouseOver="PPImgAction('over','tg_33')" title="FAQ"><img src="wpimages/wp95845e4a.png" width="147" height="37" border="0" id="tg_33" name="tg_33" title="" alt="FAQ." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:744px; top:301px; width:147px; height:37px;">
<a href="contact us.html" onMouseOut="PPImgAction('out','tg_34')" onMouseOver="PPImgAction('over','tg_34')" title="CONTACT US"><img src="wpimages/wpb7436be6.png" width="147" height="37" border="0" id="tg_34" name="tg_34" title="" alt="CONTACT US." onload="OnLoadPngFix()"></a></div>
<div id="vid_1" style="position:absolute; left:50px; top:21px; width:800px; height:276px;">
<script language="JavaScript" type="text/javascript">
<!--
var hasReqestedVersion = DetectFlashVer(8, 0, 0);
if (hasReqestedVersion)
{
AC_FL_RunContent(
"src", "monoslideshow",
"play", "true",
"loop", "true",
"width", "800",
"height", "276",
"scale", "ExactFit",
"salign", "C",
"id", "vid_1",
"quality", "High",
"wmode", "transparent",
"name", "vid_1",
"type", "application/x-shockwave-flash",
'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
"pluginspage", "http://www.macromedia.com/go/getflashplayer"
);
}
else
{
var alternateContent = 'An old version of the Flash plugin was detected. <strong><a href="http://www.macromedia.com/go/getflash/">Please upgrade your Flash plugin.<\/a><\/strong>';
document.write(alternateContent);
}
-->
</script>
</div>
<div style="position:absolute; left:22px; top:24px; width:181px; height:33px;">
<div id="frag_13" style="text-align:left;">

</div></div>
<div style="position:absolute; left:15px; top:342px; width:471px; height:54px;">
<img src="page images/logo.png" width="471" height="54" border="0" id="pic_1" name="pic_1" title="Specialist Vehicle Detailers" alt="Specialist Vehicle Detailers" onload="OnLoadPngFix()"></div>
<div id="txt_51" style="position:absolute; left:24px; top:409px; width:655px; height:307px;-moz-box-sizing:border-box;box-sizing:border-box; overflow:hidden;">
<P class="Normal-P"><span class="Normal-C">Welcome to Gleaming Kleen, a fully insured mobile detailing company based in Wiltshire
offering premium detailing services throughout the U.K and Europe. It is run and
owned by Justin Lawrence who is one of a few Swissvax Authorised Detailers in the
UK.</span></P>
<P class="Normal-P"><span class="Normal-C">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C">Justinís uncompromising pursuit of excellence, unsurpassed levels of quality and
his attention to detail ensures first class results with every commission, time and
time again which is why he has been regarded as one of the finest detailers in the
industry. Justin believes in putting the customer and their car first, which is why
all work is carried out to the highest standard. </span></P>
<P class="Normal-P"><span class="Normal-C">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C">Gleaming Kleen is purely dedicated to the art of perfecting and preserving your exotic,
collectible, or luxury vehicle&#39;s appearance. Whether you desire a high level of protection
for a vehicle you enjoy daily or a flawless finish with concours perfection, Justin
has the passion and the expertise to fulfil your needs and should be your only choice.</span></P>
<P class="Normal-P"><span class="Normal-C">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C">Gleaming Kleen are fully mobile so they come directly to you to detail your car and
offer a range of detailing <a href="http://www.gleamingkleen.co.uk/treatments.html">services</a> designed to suit the needs of discerning customers
who want the very best in car care. The majority of their client base is in the counties
of Gloucestershire, Somerset, Oxfordshire, South Wales and Dorset but regularly travel
further afield when requested.</span></P>
<P class="Normal-P"><span class="Normal-C">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C">Whatever your requirements, Gleaming Kleen is able to offer a bespoke service to
suit your individual needs. </span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C1">&nbsp;</span></P>
</div>
<div style="position:absolute; left:690px; top:401px; width:199px; height:132px;">
<a href="treatments.html?ifrm_6=swissvax.html"><img src="page images/swissvax-logo.gif" width="199" height="132" border="0" id="pic_143" name="pic_143" title="Swissvax Detailing" alt="Swissvax Detailing"></a></div>
<div style="position:absolute; left:690px; top:540px; width:199px; height:179px;">
<img src="page images/home page-latest dtail.png" width="199" height="179" border="0" id="qs_84" name="qs_84" title="" alt="" onload="OnLoadPngFix()"></div>
<div style="position:absolute; left:704px; top:556px; width:171px; height:31px;">
<img src="page images/latest detail.png" width="171" height="31" border="0" id="art_22" name="art_22" title="" alt="Latest Detail" onload="OnLoadPngFix()"></div>
<div style="position:absolute; left:701px; top:584px; width:175px; height:131px;">
<a href="audi.html"><img src="page images/Audi RS6_2.jpg" width="175" height="131" border="0" id="pic_145" name="pic_145" title="Audi RS5" alt="Audi RS6"></a></div>
<div style="position:absolute; left:7px; top:735px; width:887px; height:48px;">
<img src="page images/footer.png" width="887" height="48" border="0" id="obj_4" name="obj_4" title="" alt="" onload="OnLoadPngFix()"></div>
<div id="txt_158" style="position:absolute; left:344px; top:760px; width:212px; height:19px;-moz-box-sizing:border-box;box-sizing:border-box; overflow:hidden;">
<P class="Normal-P"><span class="Normal-C2">© Gleaming Kleen 2009 &nbsp;All Rights Reserved</span></P>
</div>
<div id="txt_159" style="position:absolute; left:151px; top:738px; width:599px; height:18px;-moz-box-sizing:border-box;box-sizing:border-box; overflow:hidden;">
<P class="Normal-P"><span class="Normal-C3"> <a href="index.html" style="color:#ffffff;text-decoration:none;">&nbsp;Home</a> ¶ <a href="treatments.html" style="color:#ffffff;text-decoration:none;">Treatments</a> ¶ <a href="http://www.gleamingkleen.co.uk/paint correction.html" style="color:#ffffff;text-decoration:none;">Paint Correction</a> ¶ <a href="portfolio.html" style="color:#ffffff;text-decoration:none;">Portfolio</a> ¶ <a href="testimonials.html" style="color:#ffffff;text-decoration:none;">Testimonials</a> ¶ <a href="faq.html" style="color:#ffffff;text-decoration:none;">FAQ</a> ¶ <a href="contact us.html" style="color:#ffffff;text-decoration:none;">Contact
US</a> ¶ <a href="http://www.example.com/sitemap.html" style="color:#ffffff;text-decoration:none;">Site Map</a></span></P>
</div>
</div>
</body>
</html>

[edited by: eelixduppy at 7:46 pm (utc) on Oct. 13, 2009]
[edit reason] example.com [/edit]

rocknbil




msg:4006450
 7:05 pm on Oct 13, 2009 (gmt 0)

First, and probably unrelated, you are using a "half" doctype. That is, it's not a complete doctype and the page is likely rendering in Quirks Mode, as opposed to Standards Compliance Mode. what you should be using is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

More on doctypes [webmasterworld.com]

Get this out of the way first, it will save you **many** cross browser compatibility issues.

Second, I will say it right out - and this is just my opinion - the Flash inclusion code generated by Dreamweaver and related programs is outdated, bloated, antiquated, and bereft with problems that put you in exactly these kinds of situations. Try this. It will work (for everything but IE5, I'm told.)

1. Create a "static image" of your flash. You can do this with a screen shot, create it manually, export as an image from Flash, whatever. Just make sure it's the exact same dimensions as your Flash. For the purpose of this demo, name it "flash-placeholder.jpg".

2. Take ALL of this

<div id="vid_1" style="position:absolute; left:50px; top:21px; width:800px; height:276px;">
<script language="JavaScript" type="text/javascript">

..... bla blah blah . . . you don't need this . . .

</script>
</div>

... and replace it with this.

<div id="vid_1" style="position:absolute; left:50px; top:21px; width:800px; height:276px;">
<a href="http://www.macromedia.com/go/getflashplayer" target="new window"><img src="flash-placeholder.jpg" width="800" height="276" border="0" alt="If you see this image for more than five seconds, click here and download the Flash player"></a>
</div>

3. Go here and download swfobject.js [swfobject.googlecode.com]. Extract the zip, all you need is the file swfobject.js.

4. Upload swfobject.js in the scripts directory you have set up (wpscripts). In the head of your document, add a link to it, like

<script src="wpscripts/jsRollover.js" type="text/javascript">
<script src="wpscripts/swfobject.js" type="text/javascript">

5. Almost done! Now at the bottom of your page, immediately before the closing body tag, add the code that does the work:


<script type="text/javascript">
var myvideo = new SWFObject('monoslideshow.swf', 'slideshow-video', '800', '276', '6', '#ffffff');
myvideo.addParam("wmode", "transparent");
window.onload = function() {
if (document.getElementById('vid_1')) { myvideo.write('vid_1'); }
};
</script>
</body>
</html>

Load it up. Vavoom . . . . it will work.

I am presuming your .swf is named moonslideshow.swf, if this is not the case change only that value.

What SWFObject does is loads the alternate content FIRST, does all the browser and version detection for you, so you can dispense with the erratic behavior of WYSIWYG generated code, unbloat your document, and if the div is found, the Flash object is found, writes it to the div vid_1.

It should work, if it doesn't, post the relevant sections of your code and we'll help you debug it.

jayplay28




msg:4006505
 8:32 pm on Oct 13, 2009 (gmt 0)

rocnbil thanks for the help, have made the alterations on just my homepage but still not working, it came up with a syntax error on line 154 which is:

if (document.getElementById('vid_1')) { myvideo.write('vid_1'); }

Here is rest of code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Serif WebPlus 11.0.8.033">
<title></title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="">
<meta name="copyright" content="">
<meta http-equiv="Content-Language" content="en-us">
<meta name="robots" content="index,follow">
<meta name="verify-v1" content="o5z3xTjjfVAEEYfExynL1spPZfjPYImu1+4gbJ04r4A=" />
<meta name="revisit-after" content="7 days">
<style type="text/css">
<!--
body {margin: 0px; padding: 0px;}
a:link {color: #ff0000;}
a:visited {color: #ffffff;}
a:hover {color: #ffffff;}
a:active {color: #ffffff;}
.Normal-P
{
margin:0.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400;
}
.Normal-C
{
font-family:"Verdana", sans-serif; font-size:12.0px;
line-height:1.17em; color:#a0a0a0;
}
.Normal-C0
{
font-family:"Verdana", sans-serif; font-size:13.0px;
line-height:1.23em; color:#a0a0a0;
}
.Normal-C1
{
font-family:"Verdana", sans-serif; font-size:16.0px;
line-height:1.13em;
}
.Normal-C2
{
font-family:"Trebuchet MS", sans-serif; font-weight:700;
font-size:9.0px; line-height:1.67em; color:#ffffff;
}
.Normal-C3
{
font-family:"Verdana", sans-serif; font-size:12.0px;
line-height:1.17em; color:#ffffff;
}
-->
</style>
<script src="wpscripts/jsFlashVer.js" type="text/javascript"></script>
<script type="text/javascript"><!--
var blankSrc = "wpscripts/blank.gif";
--></script>
<script src="wpscripts/jspngfix.js" type="text/javascript"></script>
<script src="wpscripts/jsRollover.js" type="text/javascript">
</script><script src="wpscripts/swfobject.js" type="text/javascript">

<script type="text/javascript">
<!--
PPImgInit('tg_29','wpimages/wp929516d5.png','wpimages/wpd9053a91.png','','',0,0);
PPImgInit('tg_30','wpimages/wp40448aa1.png','wpimages/wp58af5fb0.png','','',0,0);
PPImgInit('tg_31','wpimages/wp55e001d3.png','wpimages/wp8420cb92.png','','',0,0);
PPImgInit('tg_32','wpimages/wp859b7ca2.png','wpimages/wp73a3e85a.png','','',0,0);
PPImgInit('tg_33','wpimages/wp95845e4a.png','wpimages/wp4e4a7989.png','','',0,0);
PPImgInit('tg_34','wpimages/wpb7436be6.png','wpimages/wpb2815508.png','','',0,0);
//-->
</script>
</head>

<body text="#000000" style="background: #000000; text-align:center; height:800px;">
<div style="background: #000000; position:relative;width:900px;height:800px;margin-left:auto;margin-right:auto;">
<div style="position:absolute; left:720px; top:346px; width:164px; height:19px;">
<img src="page images/Tel.png" width="164" height="19" border="0" id="art_9" name="art_9" title="" alt="TEL: 07903 836203" onload="OnLoadPngFix()"></div>
<div style="position:absolute; left:9px; top:301px; width:147px; height:37px;">
<a href="index.html" onMouseOut="PPImgAction('out','tg_29')" onMouseOver="PPImgAction('over','tg_29')" title="HOME"><img src="wpimages/wp929516d5.png" width="147" height="37" border="0" id="tg_29" name="tg_29" title="" alt="HOME." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:156px; top:301px; width:147px; height:37px;">
<a href="treatments.html" onMouseOut="PPImgAction('out','tg_30')" onMouseOver="PPImgAction('over','tg_30')" title="TREATMENTS"><img src="wpimages/wp40448aa1.png" width="147" height="37" border="0" id="tg_30" name="tg_30" title="" alt="TREATMENTS." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:303px; top:301px; width:147px; height:37px;">
<a href="portfolio.html" onMouseOut="PPImgAction('out','tg_31')" onMouseOver="PPImgAction('over','tg_31')" title="PORTFOLIO"><img src="wpimages/wp55e001d3.png" width="147" height="37" border="0" id="tg_31" name="tg_31" title="" alt="PORTFOLIO." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:450px; top:301px; width:147px; height:37px;">
<a href="testimonials.html" onMouseOut="PPImgAction('out','tg_32')" onMouseOver="PPImgAction('over','tg_32')" title="TESTIMONIALS"><img src="wpimages/wp859b7ca2.png" width="147" height="37" border="0" id="tg_32" name="tg_32" title="" alt="TESTIMONIALS." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:597px; top:301px; width:147px; height:37px;">
<a href="faq.html" onMouseOut="PPImgAction('out','tg_33')" onMouseOver="PPImgAction('over','tg_33')" title="FAQ"><img src="wpimages/wp95845e4a.png" width="147" height="37" border="0" id="tg_33" name="tg_33" title="" alt="FAQ." onload="OnLoadPngFix()"></a></div>
<div style="position:absolute; left:744px; top:301px; width:147px; height:37px;">
<a href="contact us.html" onMouseOut="PPImgAction('out','tg_34')" onMouseOver="PPImgAction('over','tg_34')" title="CONTACT US"><img src="wpimages/wpb7436be6.png" width="147" height="37" border="0" id="tg_34" name="tg_34" title="" alt="CONTACT US." onload="OnLoadPngFix()"></a></div>
<div id="vid_1" style="position:absolute; left:50px; top:21px; width:800px; height:276px;">
<a href="http://www.macromedia.com/go/getflashplayer" target="new window"><img src="flash-placeholder.jpg" width="800" height="276" border="0" alt="If you see this image for more than five seconds, click here and download the Flash player"></a>
</div>
<div style="position:absolute; left:22px; top:24px; width:181px; height:33px;">
<div id="frag_13" style="text-align:left;">

</div></div>
<div style="position:absolute; left:15px; top:342px; width:471px; height:54px;">
<img src="page images/logo.png" width="471" height="54" border="0" id="pic_1" name="pic_1" title="Specialist Vehicle Detailers" alt="Specialist Vehicle Detailers" onload="OnLoadPngFix()"></div>
<div id="txt_51" style="position:absolute; left:24px; top:409px; width:655px; height:307px;-moz-box-sizing:border-box;box-sizing:border-box; overflow:hidden;">
<P class="Normal-P"><span class="Normal-C">Welcome to **, a fully insured mobile detailing company based in Wiltshire
offering premium detailing services throughout the U.K and Europe. It is run and
owned by Justin Lawrence who is one of a few Swissvax Authorised Detailers in the
UK.</span></P>
<P class="Normal-P"><span class="Normal-C">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C">Justinís uncompromising pursuit of excellence, unsurpassed levels of quality and
his attention to detail ensures first class results with every commission, time and
time again which is why he has been regarded as one of the finest detailers in the
industry. Justin believes in putting the customer and their car first, which is why
all work is carried out to the highest standard. </span></P>
<P class="Normal-P"><span class="Normal-C">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C">** is purely dedicated to the art of perfecting and preserving your exotic,
collectible, or luxury vehicle&#39;s appearance. Whether you desire a high level of protection
for a vehicle you enjoy daily or a flawless finish with concours perfection, Justin
has the passion and the expertise to fulfil your needs and should be your only choice.</span></P>
<P class="Normal-P"><span class="Normal-C">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C">Gleaming Kleen are fully mobile so they come directly to you to detail your car and
offer a range of detailing <a href="http://www.example.com/treatments.html">services</a> designed to suit the needs of discerning customers
who want the very best in car care. The majority of their client base is in the counties
of Gloucestershire, Somerset, Oxfordshire, South Wales and Dorset but regularly travel
further afield when requested.</span></P>
<P class="Normal-P"><span class="Normal-C">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C">Whatever your requirements, ** is able to offer a bespoke service to
suit your individual needs. </span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C0">&nbsp;</span></P>
<P class="Normal-P"><span class="Normal-C1">&nbsp;</span></P>
</div>
<div style="position:absolute; left:690px; top:401px; width:199px; height:132px;">
<a href="treatments.html?ifrm_6=swissvax.html"><img src="page images/swissvax-logo.gif" width="199" height="132" border="0" id="pic_143" name="pic_143" title="Swissvax Detailing" alt="Swissvax Detailing"></a></div>
<div style="position:absolute; left:690px; top:540px; width:199px; height:179px;">
<img src="page images/home page-latest dtail.png" width="199" height="179" border="0" id="qs_84" name="qs_84" title="" alt="" onload="OnLoadPngFix()"></div>
<div style="position:absolute; left:704px; top:556px; width:171px; height:31px;">
<img src="page images/latest detail.png" width="171" height="31" border="0" id="art_22" name="art_22" title="" alt="Latest Detail" onload="OnLoadPngFix()"></div>
<div style="position:absolute; left:701px; top:584px; width:175px; height:131px;">
<a href="audi.html"><img src="page images/Audi RS6_2.jpg" width="175" height="131" border="0" id="pic_145" name="pic_145" title="Audi RS5" alt="Audi RS6"></a></div>
<div style="position:absolute; left:7px; top:735px; width:887px; height:48px;">
<img src="page images/footer.png" width="887" height="48" border="0" id="obj_4" name="obj_4" title="" alt="" onload="OnLoadPngFix()"></div>
<div id="txt_158" style="position:absolute; left:344px; top:760px; width:212px; height:19px;-moz-box-sizing:border-box;box-sizing:border-box; overflow:hidden;">
<P class="Normal-P"><span class="Normal-C2">© &nbsp;All Rights Reserved</span></P>
</div>
<div id="txt_159" style="position:absolute; left:151px; top:738px; width:599px; height:18px;-moz-box-sizing:border-box;box-sizing:border-box; overflow:hidden;">
<P class="Normal-P"><span class="Normal-C3"> <a href="index.html" style="color:#ffffff;text-decoration:none;">&nbsp;Home</a> ¶ <a href="treatments.html" style="color:#ffffff;text-decoration:none;">Treatments</a> ¶ <a href="http://www.example.com/paint correction.html" style="color:#ffffff;text-decoration:none;">Paint Correction</a> ¶ <a href="portfolio.html" style="color:#ffffff;text-decoration:none;">Portfolio</a> ¶ <a href="testimonials.html" style="color:#ffffff;text-decoration:none;">Testimonials</a> ¶ <a href="faq.html" style="color:#ffffff;text-decoration:none;">FAQ</a> ¶ <a href="contact us.html" style="color:#ffffff;text-decoration:none;">Contact
US</a> ¶ <a href="http://www.example.com/sitemap.html" style="color:#ffffff;text-decoration:none;">Site Map</a></span></P>
</div>
</div>
<script type="text/javascript">
var myvideo = new SWFObject('monoslideshow.swf', 'slideshow-video', '800', '276', '6', '#ffffff');
myvideo.addParam("wmode", "transparent");
window.onload = function() {
if (document.getElementById('vid_1')) { myvideo.write('vid_1'); }
};
</script>
</body>
</html>

[edited by: eelixduppy at 9:39 pm (utc) on Oct. 13, 2009]
[edit reason] removed specifics [/edit]

rocknbil




msg:4006663
 1:03 am on Oct 14, 2009 (gmt 0)

Well, I missed the closing script tag in the external JS, sorry, but please take heed to this statement:

if it doesn't, post the relevant sections of your code and we'll help you debug it.

Here is what that means; try uploading this to the same directory as your home page and see if it flies. I think it's something else.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us">
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="wpscripts/swfobject.js" type="text/javascript"></script>
<!-- the bold is what I originally missed -->
</head>
<body>
<div id="vid_1" style="position:absolute; left:50px; top:21px; width:800px; height:276px;">
<a href="http://www.macromedia.com/go/getflashplayer" target="new window"><img src="flash-placeholder.jpg" width="800" height="276" border="0" alt="If you see this image for more than five seconds, click here and download the Flash player"></a>
</div>
<script type="text/javascript">
var myvideo = new SWFObject('monoslideshow.swf', 'slideshow-video', '800', '276', '6', '#ffffff');
myvideo.addParam("wmode", "transparent");
window.onload = function() {
if (document.getElementById('vid_1')) { myvideo.write('vid_1'); }
};
</script>
</body>
</html>

jayplay28




msg:4006751
 7:53 am on Oct 14, 2009 (gmt 0)

rocknbil once again thanks for the help, but its still not working. Any other suggestions?

Regards,
Jay

rocknbil




msg:4006967
 4:41 pm on Oct 14, 2009 (gmt 0)

its still not working.

I rarely do this, but have set up a test project using the exact same code above, including all naming conventions and everything else. Appears to be working in all browsers. See your Sticky Mail at the top of this page for the link to it. Feel free to view any source code, copy any part of that test to pick it apart, compare with yours to see what's different.

The flash I've created for "monoslideshow.swf" is a simple animation. You may discover it's a problem with your .swf itself rather than anything discussed to this point.

To investigate why it's not working, you have to start with the most basic stuff- which my "test is" - then begin adding elements and retesting, trial and error. Observe and digest any errors, may even be something helpful in the error logs.

Otherwise I think you're going to need to hire someone to sort it out for you.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved