|
-
Why is this swf's background black?
Hi all, i embedded a swf into a page recently. I got it outsourced as i dont know my flash but the guy sent it to me like this..
Code:
</head>
<body bgcolor="#000000">
<center>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
id="Winning_small"
width="156" height="98"
>
<param name="movie" value="Winning_small.swf">
<param name="bgcolor" value="#000000">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="seamlesstabbing" value="false">
<param name="allowscriptaccess" value="samedomain">
<embed
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
name="Winning_small"
width="156" height="98"
src="Winning_small.swf"
bgcolor="#000000"
quality="high"
wmode="transparent"
seamlesstabbing="false"
allowscriptaccess="samedomain"
>
<noembed>
</noembed>
</embed>
</object>
</center>
</body>
</html>
..which didnt look great. so i used swfobject and now i have this:
Code:
<script type="text/javascript">
swfobject.embedSWF("Winning_small.swf", "logo", "156", "100", "9.0.0");
</script>
</head>
<body>
<!-- Header -->
<div id="header">
<div class="shell">
<!-- Logo -->
<div id='logo'>
<a href="http://www.winninghealthsolutions.co.uk" title="Gyms in Southampton - Winning Health Solutions"><img src="/css/images/gym-southampton-logo.jpg" height="100" width="156" alt="gym in southampton - Winning Health Solutions gym Southampton" /></a>
</div>
<!-- End Logo -->
however, the logo was then black in the background. which was really annoying, cause i'd asked for a transparent background and now i had a black one which didnt match the gradient of the header of the page.
so i went back to the logo designer and i asked, he didnt know how to make the background transparent with this new code i've used. So, i asked him to make a new one with the gradient in the background. he did, and there are still black bits to the side of the logo..
so i thought best to come to a knowledgeable place and ask - how do i set the background for this embedded swf as transparent??
the page is here:
http://ameliealden.com/winninghealth/
thankyou so much!
-
Flash/Flex Developer
If the background of the source FLA is all a single color and you've set the wmode to transparent, then when you stack it on your site, it will ignore its background.
Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.
-
 Originally Posted by samac1068
If the background of the source FLA is all a single color and you've set the wmode to transparent, then when you stack it on your site, it will ignore its background.
sorry.
i really dont understand anything you just said..
do you know what code i have to use to make this background transparent please
-
Flash/Flex Developer
Okay, what is the background color of the FLA file?
Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|