<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><style type="text/css">
<!--
body {
background-color: #000000;
}
--></style>
<script>
var str1="uploadfile\\qwjs\\";
var pguid=document.getElementsByName("cnd_pguid")[0].value;
var attachname=document.getElementsByName("cnd_attachname")[0].value;
var res=str1+pguid+'\\'+attachname+'.swf';
alert(res);
</script>
<table border="0" width="100%">
<tbody>
<tr>
<td>
<table border="0" width="600" align="center">
<tbody>
<tr>
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="600">
<param name="movie" value="" />
<param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="800" height="600" src="D:\11.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
document.getElementsByName("movie")[0].value = res;
换成document.getElementById('movie').value = res;