在 Flash 上覆盖 html? [英] overlay html over flash?

查看:29
本文介绍了在 Flash 上覆盖 html?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
Flash 电影的 Div Z-Index 问题

在这种情况下,是否可以在 Flash 动画上覆盖一段 html:-下面的flash内容不可点击-html 将包含 js 链接单击,这将打开一个 iframe 弹出窗口,类似于:http://www.dynamic-tools.net/toolbox/popUp/

Is it possible to overlay a piece of html over a flash animation given this context: -flash contents underneath is NOT clickable -html will contain js link clicking which will open an iframe popup similar to: http://www.dynamic-tools.net/toolbox/popUp/

谢谢!

推荐答案

不符合标准,但尝试在 embed 标签中添加 wmode="transparent"如下:

It is not standards-compliant, but try adding wmode="transparent" to the embed tag as follows:

<object> 
    <!-- ... -->
    <param name="wmode" value="transparent"/> 
    <embed src="flash_file.swf" wmode="transparent"></embed> 
    <!-- ... -->
</object>

设置了这些参数后,flash 电影应该遵循 CSS z-index 设置.

With these parameters set, the flash movie should obey CSS z-index settings.

这篇关于在 Flash 上覆盖 html?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆