Now let's analyze the reasons:
Wmode Property/Parameter Value Window | Opaque | Transparent
Template variables: $WM
Window plays the application on a Web page using the movie's own rectangular window. "Window" indicates that this Flash application has no interaction with the HTML layer and is always at the top level.
Opaque causes the application to hide all the content that is behind it on the page.
"Transparent" makes the background of an HTML page visible through all the transparent parts of the application, and may degrade animation performance.
Both "Opaque windowless" and "transparent windowless" can interact with the HTML layer, allowing the layer above the 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 underneath the SWF file can be displayed through that section, and "opaque" is not displayed.
Find out why, and we'll solve the problem:
Set Flash to transparent: But if you insert the animation in the DW, add <param name= "wmode" value= "Transparent" > is not effective. To replace the entire Flash plug-in code with the following:
The code is as follows |
Copy Code |
<object type= "Application/x-shockwave-flash" Data= "http://www.konnech.cn/2/images/banner.swf" width= "560" height= "210" > <param name= "movie" value= "/2/images/banner.swf"/> <param name= "wmode" value= "Transparent"/> </object> |
Another way to directly add flash to the page
Set the Flash bottom, add a code: <param name= "wmode" value= "opaque"/> But only add this code, ie feasible, under the FF, failure. To work under FF, add a wmode= "opaque" to the object.
code is as follows |
copy code |
<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://fpdownload.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=7,0,0,0 "width=" 725 "height=" ><param name= "allowScriptAccess" Value= "Samedomain" > <param name= "wmode" value= "opaque" > <param name= "movie" value= "/uploads/media/logo2.swf" ><param "name=" quality "high" value= ><param "bgcolor" value= "#ffffff" > <embed src= "/uploads/media/logo2.swf" quality= "High" bgcolor= "#ffffff" wmode= "opaque" width= "725" height= "100" allowscriptaccess= "Samedomain" type= "Application/x-shockwave-flash" pluginspage= "http://www.macromedia.com/go/" Getflashplayer "/></object>
|
Note Add param name= "wmode" value= "opaque"
and wmode= "opaque"