# Flash/Embed w/ transparent window

**URL:** <https://forum.kirupa.com/t/flash-embed-w-transparent-window/187360>\
**Category:** flash\
**Created:** [April 28, 2006, 3:45pm UTC](https://forum.kirupa.com/t/flash-embed-w-transparent-window/187360 "2006-04-28T15:45:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![poot](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@poot](https://forum.kirupa.com/u/poot)\
**Post date:** [April 28, 2006, 3:45pm UTC](https://forum.kirupa.com/t/flash-embed-w-transparent-window/187360/1 "2006-04-28T15:45:28Z")

</div>

I’m using the tutorial that Kirupa posted [here](http://kirupa.com/developer/flash8/flash_fix.htm) to update some pages. I am not proficient with javascript at all, so I need help in doing this. The code it spits out gives me a white background. How do I make the background transparent?

Here is the curent code:

\<script type=“text/javascript” src=“flashobject.js”\>\</script\>

\<div id=“flashcontent” style=“width: 125px; height: 400px”\>\</div\>

\<script type=“text/javascript”\>  
var fo = new FlashObject(“swf/menuBuilderHome.swf?menuXML=menuHome.xml”, “animationName”, “125”, “400”, “8”, “#FFFFFF”);  
fo.addParam(“allowScriptAccess”, “sameDomain”);  
fo.addParam(“quality”, “high”);  
fo.addParam(“scale”, “noscale”);  
fo.addParam(“loop”, “false”);  
fo.write(“flashcontent”);  
\</script\>

TIA
