Transparent background

Hi,

this is a simple question, but i don’t know how to answer it :frowning: How can I make the background of my flash movie transparent??

Thanks to all in advance :slight_smile:
Sim085

You mean as in transparent with it overlaying an html webpage or do you mean as in an alpha transparency IN your flash file?

The first one, I am going to put the movie over HTML text, and so i need the background to be transparent!

I actually just did a tutorial on this yesterday, let me see if i can find the code for it. You code it int the html to load the Flash file as a layer, you don’t have to do anything special to the Flash file itself. You’ll need to insert this just after the beginning of the body tag.

<div id=“flashad” style=“position:absolute; left:0; top:120; width:10; height:0; z-index:1;”>
<object classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version6,0,29,0” width=“800” height=“250”>
<param name=“movie” value=“example.swf”>
<param name=“quality” value=“high”>
<param name=“wmode” value=“transparent”>
<embed src=“example.swf” width=“800” height=“250” quality=“high” pluginspage=“http://www.macromedia.com/go/getflashplayer” type=“appllication/x-shockwave-flash” wmode=“transparent”></embed>
</object>
</div>

Change the embedsrc to your file name and path, and change the dimensions to those of your flash file. Hope that helps.

Ok :smiley: :smiley: :smiley: :smiley: :smiley:

It worked just fine!

Thnak you for all your help, 10x
sim085