FFF
You are here:   Home Blog

How to bring a dropdown menu bar to the front of the flash?

AddThis Social Bookmark Button

How to make a Flash movie with a transparent background ? or How to bring a dropdown menu bar to the front of the flash ?

In this process, it will move the flash to the backwards. If a menubar with a dropdown appears on the top the flash and when a mouse over corresponding dropdown menu will show the menu in front of the flash.

Ans: The Actual code of the Flash to play a swf file is as follows:

<object classid="clsid:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=X,X,XX,X" width="944" height="300" title="Question Kit">
<param name="movie" value="images/questionkit.swf" />
<param name="quality" value="high" />
<embed src="/images/questionkit.swf" width="944" height="300" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>

Just add the following code to it.

  1. Add the following parameter to the OBJECT tag:
     <param name="wmode" value="transparent"> 
  2. Add the following parameter to the EMBED tag:
     wmode="transparent" 

So the Result code should be displayed as follows:

<object classid="clsid:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=X,X,XX,X"  width="944" height="300" title="Question Kit">
<param name="movie" value="images/questionkit.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="/images/questionkit.swf"width="944" height="300" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
 

Add comment


Security code
Refresh