将Html页面覆盖到flash上面

来源:互联网 发布:淘宝运营推广视频教程 编辑:程序博客网 时间:2024/05/22 04:36

 

在嵌入flash的页面,如果想要将html页面显示在flash的上面,除了设置html的z-index属性外,还需要设置flash的wmode属性为transparent。

 

<object type="application/x-shockwave-flash" data="/someMovie.swf" width="100" height="100"> 
  <param name="movie" value="/someMovie.swf" /> 
  <param name="wmode" value="transparent"> 
</object>