# Transparent .swf!

**URL:** <https://forum.kirupa.com/t/transparent-swf/284881>\
**Category:** Uncategorized\
**Created:** [March 24, 2009, 5:36pm UTC](https://forum.kirupa.com/t/transparent-swf/284881 "2009-03-24T17:36:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![idark](https://avatars.discourse-cdn.com/v4/letter/i/6bbea6/32.png) [@idark](https://forum.kirupa.com/u/idark)\
**Post date:** [March 24, 2009, 5:36pm UTC](https://forum.kirupa.com/t/transparent-swf/284881/1 "2009-03-24T17:36:33Z")

</div>

Hi there Kirupians! I’m wondering where I should put the wmode param into the code so it can make my flash background transparent. Note: Im using swfobject2.0

Ps. I have tried most ways to do this just cant seem to get it working :wasted:  
Appreciate any help!  
If you want the site, its here www.eltain.se

> 

\<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”  
“[http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd](http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd)”  
\>\<html\>  
\<head\>  
\<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8” /\>  
\<meta name=“keywords” content=“Eltain, Collapsible Bottles, UF, vattenflaskor” /\>  
\<title\>Eltain | Collapsible Bottles\</title\>  
\<script src=“scripts/AC\_RunActiveContent.js” type=“text/javascript”\>  
\<link rel=“stylesheet” href=“boxpos.css” type=“text/css” media=“all” /\>  
\</script\>  
\<style type=“text/css”\>  
/_\<![CDATA[_/  
\>\<!–  
body  
{  
background-image: url(/mesh/mesh7.gif);  
background-repeat: repeat-x  
background-color: #000000;  
margin-left: 0px;  
margin-top: 0px;  
margin-right: 0px;  
margin-bottom: 0px;  
}

#banner {  
position: absolute;  
width: 800;  
height: 200;  
top: 99px;  
left: 50%;  
margin-top: -100px;  
margin-left: -400px;  
}  
#fla {  
position: absolute;  
width: 800;  
height: 660;  
top: 615px;  
left: 50%;  
margin-top: -380px;  
margin-left: -400px;  
}  
–\>  
/_]]\>_/  
\</style\>  
\<!–[if lte IE 6]\>  
\<script type=“text/javascript” src=“supersleight.js”\>\</script\>  
\<![endif]–\>  
\<script type=“text/javascript” src=“swfobject.js”\>\</script\>  
\<script type=“text/javascript”\>  
swfobject.registerObject(“content”, “8.0.0”, “expressInstall.swf”);  
\</script\>  
\</head\>  
\<body\>  
\<div id=“infobox”\>\<img src=“mesh/bgart.png” width=“100%” height=“250” hspace=“0” vspace=“0” /\>\</div\>  
\<div id=“banner”\>\<img src=“[http://eltain.se/banner1.png](http://eltain.se/banner1.png)” width=“800” height=“200” alt=“banner” /\>  
\<div id=“fla”\>  
\<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” width=“800” height=“671” id=“content”\>  
\<param name=“movie” value=“contentbase.swf” /\>  
\<!–[if !IE]\>–\>  
\<object type=“application/x-shockwave-flash” data=“contentbase.swf” width=“800” height=“671”\>  
\<!–\<![endif]–\>  
\<a href=“[http://www.adobe.com/go/getflashplayer](http://www.adobe.com/go/getflashplayer)”\>  
\<img src=“[http://www.adobe.com/images/shared/download\_buttons/get\_flash\_player.gif](http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif)” alt=“Get Adobe Flash player” /\>  
\</a\>  
\<!–[if !IE]\>–\>  
\</object\>  
\<!–\<![endif]–\>  
\</div\>  
\</body\>  
\</html\>
