关闭flash和关闭网页是两回事。要想通过flash中的按钮关闭网页,需要用javascript命令。
在网页中加入代码(<head>与</head>之间):
<script type="text/javascript">
function closewindow(){
window.close();
}
</script>
然后在flash中,在按钮上添加动作:
btnClose.onRelease=function(){
getURL("javascript:closewindow()"

;
};