Home  >  Article  >  Web Front-end  >  自己定义flash的宽和高_html/css_WEB-ITnose

自己定义flash的宽和高_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:24:35907browse

  前段时间做个项目,是个网页的聊天界面,聊天的内容使用flash制作,我需要将flash的swf插件放到页面上,然后获取聊天内容,

1.将文件在页面上显现出来:

如图,正中间使用后台制作出来的swf文件。


  
  
       pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" >

webchat.swf是后台给我的媒体文件。

这样,可以js设置object 里面的embed的宽高就是flash文件的宽高了。

注意:object的border一般为none.

2.获取聊天的内容:

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn