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
1. MySQL's own stress testing tool - Mysqlsla...
Using the CSS3 border-image property, you can set...
mysql-5.7.17.msi installation, follow the screens...
When developing a project, you will often encount...
This article shares the specific code of jQuery t...
When uploading on some websites, after clicking t...
This article example shares the specific code of ...
Preface: This article only introduces the steps t...
{ {}} Get the value, the original content of the ...
:is dynamic component Use v-bind:is="compone...
<br />Without any warning, I saw news on cnB...
(1) Each HTML tag has an attribute style, which c...
Achieve results Implementation Code html <h1 c...
1. Create a table using HTML tags: Copy code The ...
When people are working on a backend management s...