469,603 Members | 2,075 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,603 developers. It's quick & easy.

make HTML bgcolor Diff than SWF bgcolor

Duchesse
Hoi!
Does anyone know how to make the bgcolor in HTML different than the background color of my SWF movie. I've tried playing around with the bgcolor in <body> and the bgcolor in the SWF parameters but it always ends up being the same. If anyone has any ideas it would be great. Thanks.
Nov 16 '06 #1
3 5242
kestrel
1,071 Expert 1GB
can you make your question a little but more specific please?
are you trying to use CSS to set the background color?

to do that in CSS
Expand|Select|Wrap|Line Numbers
  1. body {background-color: #FF0000;}

HTML would be
[html]
<body bgcolor="ff0000">
</body>
[/html]


for flash, just change the background color when you first make the file


--
any more questions, pm me
--
Devin
Nov 16 '06 #2
Hi Devin,

Thanks for your reply. I am not using CSS just HTML with Javascript and some VBscript to determine flash presence.

However when I change the body color in;

<body bgcolor="ff0000"> to whatever it may be it also changes the color in the SWF backgroung, even if I specify a different color in the object classid parameters. Logically it shouldn't but that's what it does. Then again I find most Web coding has very subjective logic.

Thanks.



can you make your question a little but more specific please?
are you trying to use CSS to set the background color?

to do that in CSS
Expand|Select|Wrap|Line Numbers
  1. body {background-color: #FF0000;}

HTML would be
[html]
<body bgcolor="ff0000">
</body>
[/html]


for flash, just change the background color when you first make the file


--
any more questions, pm me
--
Devin
Nov 17 '06 #3
kestrel
1,071 Expert 1GB
i dont know, it sounds like you are doing everything right,

try using css to set the background color.
Expand|Select|Wrap|Line Numbers
  1. <style type="text/css">
  2. body {background-color: #FF0000;}
  3. </style>
  4. <body>
  5.  
tell me if that doesnt work,
Nov 18 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Mark Watkins | last post: by
reply views Thread by Federico Moschini [328594] | last post: by
3 posts views Thread by moondaddy | last post: by
6 posts views Thread by scottyman | last post: by
tolkienarda
4 posts views Thread by tolkienarda | last post: by
6 posts views Thread by Aaron Gray | last post: by
reply views Thread by guiromero | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.