How to make a Transparent Flash file/animation/swf/fla

By -

There are two ways to make flash file transparent, one is to export as a transparent file when you are publishing from Macromedia Flash and another to insert a line of code in the HTML. We will cover both ways in this tutorial.

Remember having transparent flash will have its effects as some browsers dont support Transparency like Internet Explorer 6 and below.

* Macromedia Flash Player version 6,0,65,0 (Windows) or 6,0,67,0 (Macintosh) or higher required for this feature.

 

Here we go…

First let’s look at the first one, publishing flash file (.swf) as a transparent file. Open a new file in your Macromedia Flash and draw circle in the middle with any color. Now save your file and go to File > Publish Settings or press Ctrl+Shift+F12. You should see the following window. In this window go to HTML tab and select Transparent Windowless from Window Mode. And press Publish.

Now your file is saved as a transparent swf. To be able to check the transparency of your file go and change the background color of your page (which was generated by Flash) from white to some other color. If you have followed correctly you should see only your circle on your background color, without the white rectangle around it.

Was the first method simple? Lets try Method 2

———————————————————

Method 2:-

Open your page that you would like to insert flash file with Dreamweaver or with any other HTML Editor and insert a flash file inside it. Click on the flash file and go to the code view mode.

You would see a code similar to the following:

Now

What you have to do now is to insert a line of code inside this code, telling that this flash should be transparent. Here is the revised code. New code is shown in green color.


wmode=”transparent” pluginspage=”http://www.macromedia.
com/go/getflashplayer” type=”application/x-shockwave-flash” width=”200″ height=”100″>

Just insert this line of code in green color after the last

wmode=”transparent” the

 

 

Thats it…

Hi! I am a full time tech savvy blogger, author and founder of TechMafia.org, You also can follow me on Facebook.

Leave a Reply

Your email address will not be published. Required fields are marked *