在QQ Show里面看到一个很可爱的挂件,很想把它弄下来。弄下来的方法很简单,繁峙县粮食局直接去网页缓存文件里面找。找到了之后,按下面的方法插入到网页中:
1 |
< object height = "100%" width = "100%" border = "0" classid = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" > |
2 |
< param value = "../../webapp/pig.swf" name = "movie" /> |
3 |
< param value = "High" name = "quality" /> |
4 |
< param value = "transparent" name = "wmode" /> |
5 |
< embed height = "100%" width = "100%" wmode = "transparent" quality = "High" name = "FlashH" type = "application/x-shockwave-flash" pluginspage = "http://www.macromedia.com/go/getflashplayer" scale = "noscale" src = "../../webapp/pig.swf" > |
6 |
</ embed > |
7 |
</ object > |
演示的效果如下:
请右键点击上面的flash,可以发现,“显示全部”的选项勾选了。事实上,只要不默认勾选这个选项就可以正常显示了。方法很简单,加上这么一句:<param name="scale" value="noscale">,如果要全浏览器兼容,还要在embed标签加上这么一句:
1 |
< object height = "100%" width = "100%" border = "0" classid = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" > |
2 |
< param value = "../../webapp/pig.swf" name = "movie" /> |
3 |
< param value = "High" name = "quality" /> |
4 |
< param name = "scale" value = "noscale" > |
5 |
< param value = "transparent" name = "wmode" /> |
6 |
< embed height = "100%" width = "100%" wmode = "transparent" quality = "High" name = "FlashH" type = "application/x-shockwave-flash" pluginspage = "http://www.macromedia.com/go/getflashplayer" scale = "noscale" src = "../../webapp/pig.swf" > |
7 |
</ embed > |
8 |
</ object > |
此时右键点击flash,会发现,“显示全部”没勾选了,Flash也正常显示了。
时间: 2024-09-29 23:23:56