swf自动播放时如何全屏全部显示
2024-07-29 06:41:22 222人阅读
在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" > |
演示的效果如下:
请右键点击上面的flash,可以发现,“显示全部”的选项勾选了。事实上,只要不默认勾选这个选项就可以正常显示了。方法很简单,加上这么一句:<param name="scale" value="http://www.mamicode.com/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" > |
此时右键点击flash,会发现,“显示全部”没勾选了,Flash也正常显示了。
swf自动播放时如何全屏全部显示
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉:
投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。