View Full Version : I'm having troubles with transparent backgrounds

10-03-2004, 10:12 PM
I don't know what or where to put in any HTML code to make my flash movie's background to be transparent, It's not a movie, it's a navbar, and it's background is bigger then the image itself. If you need to look at it, see http://www.piratefish.com/flash.html Please offer any advice.

10-03-2004, 10:28 PM
Howdy and Welcome... :)

You probably need to put wmode="transparent" somewhere in your HTML code to do that... :)

10-04-2004, 02:13 AM
Well would I put it as PARAM NAME=WMODE VALUE=TRANSPARENT if so, then is it on my webpage, or is it in the published html code from flash? Also if you could give me an exact spot in either codes, the published code from Flash has a bunch of PARAM parts, and I'm not sure which to put.

10-04-2004, 02:35 AM
In your html...

In order for it to be compatible with internet explorer you need to use :
<param name="wmode" value="transparent" />

for compatibility with other browsers (mozilla and opera7) you need to use
inside your embed tag.

Here is an example:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="640" height="480" id="Untitled-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Untitled-1.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="Untitled-1.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="640" height="480" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

you can set this without having to type any html by going (inside flash) to File->Publish Settings -> html -> Window Mode

like I did for this example

10-06-2004, 01:36 AM
thank you all so much. I need to look before I start asking for help. Thanks again.