问题来源:在flash中想调用外部的网页显示在flash之上。
问题描述:在IE6下显示正常,但在firefox和google下,flash元素在优先级很高,就会一直显示在上面,把div遮住。
解决办法:在html中修改swf的wmode属性的值为Opaque 或Transparent 。
wmode有三个值:window|opaque|transparent,默认是window。Opaque表示无窗口模式、transparent表示透明。当wmode取后两个值时就可以实现div漂浮在flash 之上了。
<object type="application/x-shockwave-flash" data="http://static.googleadsserving.cn/pagead/imgad?id=CJ6GrZPU3f_FMRDQAhiYAjIIXo1yJ2oFvR0">
<param name="movie" value="http://static.googleadsserving.cn/pagead/imgad?id=CJ6GrZPU3f_FMRDQAhiYAjIIXo1yJ2oFvR0" />
<param name="wmode" value="Opaque" />
</object>