<param name="BGCOLOR" value="#394A59" /> sets the background color of the swf itself and will not be applied until the swf is loaded.
I imagine what is happening (only guessing without seeing your page), is that you have styled the <div> which gets OVERWRITTEN by the Flash content, so the styling is removed as part of the replacement. If you want to set and maintain any css styles (color / position etc), then create a wrapper <div> as a parent to the replacement <div> and style that one instead... Aran On Mon, Aug 29, 2011 at 2:14 PM, Adriana <[email protected]> wrote: > I'm finding that before the flash swf loads, the div that contains it > has a white background. My CSS for the div has the correct background > color (#394a59) but that doesn't seem to work. In the past in working > with flash I added the following:<param name="BGCOLOR" > value="#394A59" /> to the object get the desired background color. > Where can I add or designate the color in so that the div is that > color while the swf loads? Is there some code i need to add to > swfobject.js? > > Thanks, > Adriana > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
