Forum Moderators: mack

Message Too Old, No Replies

Page loads w/ white boxes before images appear

(page has a black background)

         

eelhandroll

2:42 pm on Dec 2, 2004 (gmt 0)

10+ Year Member



Good morning,

We created a site with a black background. The HTML pages include text and a few Flash files.

As a page loads, white boxes appear in the exact positions occupied by the Flash files. Once the entire page loads up and the Flash files load, the viewer gets a true, complete black background.

Is there a way to set the areas behind these Flash movies to black instead of white?

Thanks!

charlienichols

11:52 pm on Dec 2, 2004 (gmt 0)

10+ Year Member



I think that's browser-dependent isn't it? IE will show different than firefox, safari etc?

iamlost

12:28 am on Dec 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Three possibilities worth trying:

One: set the flash background to "transparent" so the body background will show through:
[macromedia.com ]

Two: if utilising <object> to embed Flash use CSS: <object style="background-color: #000">

Three: set the flash background to the same as the body background by adding to your HTML: <param name="bgcolor" value="#000000">. Note that bgcolor is deprecated.

eelhandroll

5:20 pm on Dec 3, 2004 (gmt 0)

10+ Year Member



charlienichols: Yes, this does occur with Firefox.

iamlost: Thanks very much, it worked!

Cheers