实现思路:在flash上重新嵌套一个层,用新嵌套的层掩盖住flash,层上加入链接,点flash变成点击该层。
实现代码:
<EMBED style="z-index:0" src="./images/SDICimages/flash.swf" quality=high width="862" height="246" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="opaque">
<a href="http://www.google.com" target="_blank" style="cursor:pointer">
<div style="position:absolute;filter:alpha(opacity=0);-moz-opacity:0;left:0;top:0; background:#CDEAF6;width:862px;height:246px;z-index:10">
</div></a>
<a href="http://www.google.com" target="_blank" style="cursor:pointer">
<div style="position:absolute;filter:alpha(opacity=0);-moz-opacity:0;left:0;top:0; background:#CDEAF6;width:862px;height:246px;z-index:10">
</div></a>
注意------根据需要调整left、top等相关参数。