How do I set the background color in swfObject?

Posted by fmz on Stack Overflow See other posts from Stack Overflow or by fmz
Published on 2010-05-17T15:16:47Z Indexed on 2010/05/17 15:20 UTC
Read the original article Hit count: 311

Filed under:
|

I am using swfobject to display some Flash content (please don't tell Steve Jobs) and I need to set the background color of the swfobject content to black so it blends nicely with the black page it is on.

I tried using the following code but it didn't change anything:

<object id="flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="600" bgcolor="#000">

What is the correct way to set the background color to #000000?

Thanks.

© Stack Overflow or respective owner

Related posts about swfobject

Related posts about flash