注册 登录
编程论坛 WEB前端(UI)

如何去掉flash那激活的提示

lele2007 发布于 2007-12-28 18:49, 2689 次点击
在网页里插入flash时,浏览时总会提示:``单击以激活并使用此控件``想问下如何去掉这一提示?
10 回复
#2
lele20072007-12-28 18:50
用flash做导航时,出现这一提示不太方便
#3
lmhllr2007-12-28 20:23
用js,如果你用DW CS3的话就简单了,用DW CS3打开那个页面会提示你的,点是就行了
#4
lele20072007-12-29 09:44
具体还没操作过呢?我试试看,谢谢了!JS不用大量的代码吧
#5
lmhllr2007-12-29 10:34
也没多少吧,地址,大小,标题改改就可以了
程序代码:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.,0,28,0','width','32','height','32','title','qqqq','src','1','quality','high','pluginspage','http://www.','movie','1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.,0,28,0" width="32" height="32" title="qqqq">
  <param name="movie" value="1.swf" />
  <param name="quality" value="high" />
  <embed src="1.swf" quality="high" pluginspage="http://www. type="application/x-shockwave-flash" width="32" height="32"></embed>
</object></noscript>
#6
lele20072007-12-29 11:15
非常感谢!
另外想问下:现在颜色都用十六进制表示,如红色是:red(#ff0000)那个#ff0000请问下是怎么得来的?是得硬记下来还是另有其它的记忆方法?
#7
huangyong2007-12-29 13:09
5楼的方法是可以的,还有一些网站是通过JS直接调用出来,也不会有那个框的。
#8
huangyong2007-12-29 13:11
找了一下代码,找到了:
FLASH调用代码:
<script src="Scripts/FlashShow.js" type="text/javascript"></script>
<script type="text/javascript">
Swfshow('swf/banner.swf','1004','200')
</script>


JS代码:
function Swfshow(strURL,intWidth,intHeight)
  {
  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.,0,40,0" width="'+intWidth+'" height="'+intHeight+'">');
  document.write('<param name="movie" value="'+strURL+'">');
  document.write('<param name="quality" value="high">');
  document.write('<param name="WMode" value="Transparent" />');
  document.write('<!--[if !IE]> <-->');
  document.write('<object data="'+strURL+'" width="'+intWidth+'" height="'+intHeight+'" type="application/x-shockwave-flash">');
  document.write('<param name="quality" value="high">');
  document.write('<param name="WMode" value="Transparent" />');
  document.write('<param name="pluginurl" value="http://www.');
  document.write('FAIL (the browser should render some flash content, not this).');
  document.write('</object>');
  document.write('<!--> <![endif]-->');
  document.write('</object>');
  }


[[italic] 本帖最后由 huangyong 于 2007-12-29 13:12 编辑 [/italic]]
#9
lele20072007-12-29 23:57
好!谢谢!正是想要找的!
#10
紫苏2008-01-22 11:03
谢谢,顶一下。
#11
lele20072008-01-22 21:47
我试了下怎么好像不行的呀?
1