Insert Flash element code compatible with IE and Firefox
19:53:30 | Author: qzliang3519
Http://www.kingtco.com Firefox's support for some code makes developers sometimes very headache, recently I encountered a problem/clearly in IE display normal, the layout of the flash Banner is also reasonable. It is not normal in Firefox ., 5 PX more. I cannot connect my images smoothly. I don't know why I found it for half a day ,. finally, I don't know which blog site I found the solution. Thank you for sharing it. Here I will also talk about it:
First, it is normal only in IE:
<Object classid = "clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width = "1002" height = "335">
<Param name = "movie" value = "images/morton_f.swf"/>
<Param name = "quality" value = "high"/>
<Param name = "wmode" value = "transparent"/>
<Embed src = "images/morton_f.swf" width = "1002" height = "335" quality = "high" pluginspage = "http://www.macromedia.com/go/getflashplayer" type = "application/x-shockwave-flash" wmode = "transparent"> </embed>
</Object>
Second, both IE and Firefox are compatible
<Object data = "images/morton_f.swf" type = "application/x-shockwave-flash" width = "1002" height = "335">
<Param name = "movie" value = "images/morton_f.swf"/>
<Param name = "wmode" value = "transparent"/>
</Object>