Hi all, i embedded a swf into a page recently. I got it outsourced as i dont know my flashbut the guy sent it to me like this..
..which didnt look great. so i used swfobject and now i have 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>
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.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 -->
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!




but the guy sent it to me like this..
Reply With Quote