Div covers the flash. Flash transparent method realizes placing the DIV layer on the flash.

Div covers the flash. Flash transparent method realizes placing the DIV layer on the flash.
There are two types: (different browsers)

1. Available in IE browser

Copy code
The code is as follows:

<param name=”wmode” value=”transparent” />

2. Available under Firefox

Copy code
The code is as follows:

<embed src=”YourFlash.swf” wmode=”transparent” … ></embed>

About wmode attribute information :

(Optional) Enables transparent Flash content, absolute positioning, and layering features in Internet Explorer 4.0. This tag/attribute is only valid on Windows with the Flash Player ActiveX control.

"Window" plays the application in its own rectangular window on the Web page. "Window" indicates that this Flash application has no interaction with the HTML layer and is always on top.
Opaque causes the application to hide everything behind it on the page.
"Transparent" causes the background of the HTML page to show through any transparent parts of the application and may degrade animation performance.
Both Opaque windowless and Transparent windowless interact with HTML layers, allowing a layer above a SWF file to obscure the application. The difference between the two options is that Transparent allows transparency, so if a portion of the SWF file is transparent, the HTML layer below the SWF file can show through that portion, while opaque does not.

The flash code should be written like this:

Copy code
The code is as follows:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="737" height="220" align="center">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="xxx.swf" />
<param name="wmode" value="transparent">
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed wmode="transparent" src="xxx.swf" quality="high" bgcolor="#ffffff" width="737" height="220" name="banner" align="center" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

The red part is the div displayed on the flash, that is, the flash is displayed at the bottom, transparent

<<:  Sample code for achieving small triangle border effect with pure CSS3+DIV

>>:  How to build a deep learning environment running Python in Docker container

Recommend

How to use MySQL stress testing tools

1. MySQL's own stress testing tool - Mysqlsla...

An article to help you learn CSS3 picture borders

Using the CSS3 border-image property, you can set...

mysql5.7.17.msi installation graphic tutorial

mysql-5.7.17.msi installation, follow the screens...

Example test MySQL enum type

When developing a project, you will often encount...

jQuery implements the function of adding and deleting employee information

This article shares the specific code of jQuery t...

About input file control and beautification

When uploading on some websites, after clicking t...

Vue implements a simple shopping cart example

This article example shares the specific code of ...

Detailed explanation of vue.js dynamic components

:is dynamic component Use v-bind:is="compone...

Experience of redesigning the homepage of TOM.COM

<br />Without any warning, I saw news on cnB...

Four ways to combine CSS and HTML

(1) Each HTML tag has an attribute style, which c...

Background gradient animation effect made by css3

Achieve results Implementation Code html <h1 c...

DOM operation table example (DOM creates table)

1. Create a table using HTML tags: Copy code The ...

Sample code for implementing menu permission control in Vue

When people are working on a backend management s...