日期:2014-05-20  浏览次数:20677 次

用一张图片同时控制动画播放和表单提交按钮
我想实现用一张图片控制动画播放的同时,还用作表单提交按钮,可是无论如何改,都无法实现,要不只能控制动画,要么只能作为按钮。代码如下,有人能发现问题在哪吗?(现在的状况是:能提交表单,但不能控制动画。图片名:xys_pao.png,动画名:xys.swf)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/qfsy_right.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>qffh_right</title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
body {
margin-left: 5px;
margin-top: 2px;
margin-bottom: 0px;
margin-right: 10px;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
#Layer1 {
position:absolute;
left:6px;
top:48px;
width:673px;
height:251px;
z-index:1;
}
-->
</style>
<style type="text/css">
<!--
#Layer2 {
position:absolute;
left:5px;
top:298px;
width:672px;
height:10px;
z-index:2;
background-color: #3980F4;
}
-->
</style>
<style type="text/css">
<!--
#Layer3 {
position:absolute;
left:6px;
top:308px;
width:330px;
height:256px;
z-index:3;
}
-->
</style>
<style type="text/css">
<!--
#Layer4 {
position:absolute;
left:335px;
top:308px;
width:10px;
height:259px;
z-index:4;
}
-->
</style>
<style type="text/css">
<!--
#Layer5 {
position:absolute;
left:344px;
top:308px;
width:334px;
height:258px;
z-index:5;
}
.xys {
font-size: 18pt;
color: #FF0099;
letter-spacing: 2pt;
text-indent: 4pt;
font-family: "华文行楷";
line-height: 20pt;
text-align: left;
font-weight: normal;
vertical-align: middle;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
top: 0px;
clip: rect(0px,auto,auto,auto);
background-position: top;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
}
-->
</style>
<style type="text/css">
<!--
body {
margin-top: 0px;
}
-->
</style>
<style type="text/css">
<!--
#Layer6 {
position:absolute;
left:46px;
top:284px;
width:633px;
height:233px;
z-index:1;
}
-->
</style>
<style type="text/css">
<!--
#Layer7 {
position:absolute;
left:105px;
top:421px;
width:276px;
height:133px;
z-index:2;
}
-->
</style>
<style type="text/css">
<!--
#Layer8 {
position:absolute;
left:99px;
top:397px;
width:355px;
height:23px;
z-index:3;
}
-->
</style>
<style type="text/css">
<!--
.STYLE3 {
color: #666666;
font-family: "楷体_GB2312";
font-size: 10pt;
}
-->
</style>
<style type="text/css">
<!--
#Layer9 {
position:absolute;
left:452px;
top:544px;
width:25px;
height:26px;
z-index:4;
}
-->
</style>
<style type="text/css">
<!--
#Layer10 {