homepage Welcome to WebmasterWorld Guest from 54.211.235.255
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

    
I need help - Flash/Internet Issues
Flash help
ShowMeTheMagic




msg:4229146
 9:46 am on Nov 11, 2010 (gmt 0)

HI.

I'm new here, and I've been searching this site (and other sites) and reading articles for over 2-days and still haven't found a solution to my dilemma. I KNOW it's something simple, but I just can't find it... and I'm usually pretty good at this stuff, since research is my primary career. However, I'm so frustrated right now that I've given up and decided to post a request here for help.

I'm revising a webpage for a friend. At the "index.html" page there's a Flash object that has a white background, which doesn't match the site page background. In Firefox, the "bgcolor=" code I used works just fine. In Internet Explorer, I get a plain white background.

I found the "If IE, use this code, if not, use this code" references (and code) on several sites, but I CANNOT get the background color to change to the site background color, as it does in Firefox. I'm totally frustrated.

Is there somebody out there who will please look at the "index.html" code I've got and help me fix the Internet Explorer part so the white background will switch to the color of the rest of the page? I'm at my wits end and I have a very low patience threshold.

Thanks for reading my post. I hope somebody will respond and have a solution for me. :)

Regards,

SCOTT.

 

Major_Payne




msg:4229163
 10:36 am on Nov 11, 2010 (gmt 0)

Hard to look at the "index.html" code" when you gave no link to it or posted it including the CSS used.

Ron

ShowMeTheMagic




msg:4229413
 1:03 am on Nov 12, 2010 (gmt 0)

Umm, you do have a point. Lol. Sorry about that. Here's the full code for the index.html file. I've noted the beginning and end of the problem area. If you want to see the problem, the url is: [irenesdogs.blodgettranchquarterhorses.com...]
It looks just fine in Firefox, but I just can't get that bg color to display in IE6-8. Thanks for responding to my post. I hope you'll be able to help resolve this pain in the rear end... and again, I apologize for forgetting to include the code with the original post. Regards, Scott.
ADDED AFTER POSTING: I just went to look at it again in Firefox and the Flash object has disappeared. Refreshing the page didn't help. It was working fine last night when I posted my first message. Now I'm REALLY getting frustrated!


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org">
<title>Irene's Dogs Official Website</title>
<style type="text/css">
body {
background-color: #f48b8b;
color: black;
}
:link { color: black }
:visited { color: black }
:active { color: black }
div.c7 {text-align: center}
span.c6 {font-size: 150%}
img.c5 {border-style:none}
span.c4 {font-size: 70%}
span.c3 {font-size: 80%}
span.c2 {font-size: 120%}
span.c1 {font-size: 200%}
</style>
</head>
<body>
<table width="100%">
<tr>
<td width="20%" height="100%" align="center" valign="center"></td>
<td width="60%" height="100%" align="center" valign="center">
<div class="c7"><strong><img src="skipcolorleft.jpg" alt="** PLEASE DESCRIBE THIS IMAGE **"> <span class="c1">IRENE'S DOGS</span> <img src="skipcolorright.jpg" alt="** PLEASE DESCRIBE THIS IMAGE **"></strong><br>
<strong><span class="c2">Specializing in Training and Showing dogs in Obedience and Agility</span><br>


*****THE FOLLOWING PART IS WHERE THE PROBLEM IS*****

<!--[if !IE]> -->
<object type="application/x-shockwave-flash" data="http://www.bezzmedia.com/swfspot/resources/45-picturecube.swf?bgcolor="#f48b8b"
im0=http://example.com/cubedpics/captmidnight1cubed.jpg&amp;im1=http://example.com/cubedpics/foxylady1cubed.jpg&amp;im2= http://example.com/cubedpics/foxyshamrockcubed.jpg&amp;im3=http://example.com/cubedpics/lucy1cubed.jpg&amp;im4=http://example.com/cubedpics/pard1cubed.jpg&amp;im5=http://example.com/cubedpics/shamrockcubed.jpg&amp;cubesize=250" width="450" height="450
<!-- <![endif]-->
<!--[if IE]>
<object type="application/x-shockwave-flash" bgcolor="f48b8b" data="http://www.bezzmedia.com/swfspot/resources/45-picturecube.swf?im0= http://example.com/cubedpics/captmidnight1cubed.jpg&amp;im1=http://example.com/cubedpics/foxylady1cubed.jpg&amp;im2=http://example.com/cubedpics/foxyshamrockcubed.jpg&amp;im3=http://example.com/cubedpics/lucy1cubed.jpg&amp;im4=http://example.com/cubedpics/pard1cubed.jpg&amp;im5=http://example.com/cubedpics/shamrockcubed.jpg&amp;cubesize=250" width="450" height="450">
<!--><!--dgx-->
<param name="movie" value="http://www.bezzmedia.com/swfspot/resources/45-picturecube.swf?im0= http://example.com/cubedpics/captmidnight1cubed.jpg&amp;im1=http://example.com/cubedpics/foxylady1cubed.jpg&amp;im2=http://example.com/cubedpics/foxyshamrockcubed.jpg&amp;im3=http://example.com/cubedpics/lucy1cubed.jpg&amp;im4=http://example.com/cubedpics/pard1cubed.jpg&amp;im5=http://example.com/cubedpics/shamrockcubed.jpg&amp;cubesize=250"></object>
<!-- <![endif]-->

*****END OF PROBLEM*****


<br>
<span class="c3">View a picture by clicking on it. Return to the cube by clicking on the picture again. The cube changes directions as you move your mouse around the screen.</span><br>
<br>
<span class="c4">Click a Doggie to Navigate</span><br>
<img src="skipbuttonbar2.gif" usemap="#skipbuttonbar2" alt="" class="c5"><map id="skipbuttonbar2" name="skipbuttonbar2">
<area shape="rect" alt="" coords="0,33,90,124" href="http://example.com/bio.html" title="">
<area shape="rect" alt="" coords="90,33,180,124" href="http://example.com/photogallery.html" title="">
<area shape="rect" alt="" coords="180,33,270,124" href="http://example.com" title="">
<area shape="rect" alt="" coords="270,33,360,124" href="http://example.com/ireneslinks.html" title="">
<area shape="default" nohref="nohref" alt=""></map><br>
<br>
<span class="c6">IRENE'S DOGS &amp;</span><br>
<span>xx RANCH QUARTER HORSES</span><br>
<span>Irene &amp; Ray Blodgett, xx Wade Lane, xx, NV 00000</span><br>
<span>Phone: (775) 423-0532 \ email: <a href="mailto:irene.blodgett@example.com">irene.blodgett@example.com</a></span></strong></div>
</td>
<td width="20%" height="100%" align="center" valign="center"></td>
</tr>
</table>
</body>
</html>

astupidname




msg:4231876
 10:01 am on Nov 18, 2010 (gmt 0)

Hi Scott and welcome to webmasterworld!

wmode parameter of transparent is what you are really looking for, Scott. It allows the flash object to have no apparent background, so the parent element's background color (or inherited bacground color) will come through. Alternatively, you could define param elements for bgcolor instead if you want the objects to have different background color (then don't use the wmode params of "transparent" value), such as: <param name="bgcolor" value="#008000">

So, this will work for what you are doing (note the www.example.com urls all need changing of course):

<object id="Internet_Explorer_Recognizes_Outer_Object" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="450" height="450">
  <param name="wmode" value="transparent">
  <param name="movie" value="http://www.bezzmedia.com/swfspot/resources/45-picturecube.swf?im0=http:/[smilestopper]/www.example.com/cubedpics/captmidnight1cubed.jpg&amp;im1=http:/[smilestopper]/www.example.com/cubedpics/foxylady1cubed.jpg&amp;im2=http:/[smilestopper]/www.example.com/cubedpics/foxyshamrockcubed.jpg&amp;im3=http:/[smilestopper]/www.example.com/cubedpics/lucy1cubed.jpg&amp;im4=http:/[smilestopper]/www.example.com/cubedpics/pard1cubed.jpg&amp;im5=http:/[smilestopper]/www.example.com/cubedpics/shamrockcubed.jpg&amp;cubesize=250">
  <!--[if !IE]>-->
    <object id="Other_Browsers_Recognize_This_Inner_Object" type="application/x-shockwave-flash" data="http://www.bezzmedia.com/swfspot/resources/45-picturecube.swf?im0=http:/[smilestopper]/www.example.com/cubedpics/captmidnight1cubed.jpg&amp;im1=http:/[smilestopper]/www.example.com/cubedpics/foxylady1cubed.jpg&amp;im2=http:/[smilestopper]/www.example.com/cubedpics/foxyshamrockcubed.jpg&amp;im3=http:/[smilestopper]/www.example.com/cubedpics/lucy1cubed.jpg&amp;im4=http:/[smilestopper]/www.example.com/cubedpics/pard1cubed.jpg&amp;im5=http:/[smilestopper]/www.example.com/cubedpics/shamrockcubed.jpg&amp;cubesize=250" width="450" height="450">
    <param name="wmode" value="transparent">
  <!--<![endif]-->
  <!-- Alternate content here will be exposed in all browsers if flash not available -->
  <p style="color:red; font-size:1.1em;">We're sorry, it appears you do not have flash player and are unable to view the content intended to be here. You may click the image below to go and get flash player, then do please come on back!</p>
  <p><a href="http://get.adobe.com/flashplayer/"><img src="http://www.adobe.com/images/shared/download_buttons/get_adobe_flash_player.png" alt="get flash player"></a></p>
  <!--[if !IE]>-->
    </object>
  <!--<![endif]-->
</object>


Replace your "problem area" with the above after correcting the url's. Also note the lengthy descriptive id's I gave the objects, cut the id's out if you want, just placed for you to view. Enjoy!

ShowMeTheMagic




msg:4232618
 2:50 am on Nov 20, 2010 (gmt 0)

Worked like a charm! Thank you so much! This is really not my area of expertise. I'm a filmmaker. I've only ever built my own websites for various projects, and they were really simple sites--point and click. My friend is very happy now, and she also said for me to pass along her thanks. You guys have been a big help! With respect, Scott Young.

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