精通网页,flash者多多指点!!!

来源:百度知道 编辑:UC知道 时间:2024/05/26 17:19:49
如何定义用flash制作按钮连接到另一个网页,并且自定义网页大小,不显示工具栏。在flash和网页中加什么代码???

按钮动作:
mybtn.onRelease = function() {
fscommand("openWindow", 网址);
}

假如flash的文件名四test.swf
在网页中:
<script>
function test_DoFSCommand(command, args)
{
if (command =="openWindow")
window.open(args,"","status=yes,scrollbars=yes,resizable=yes,width=650,height=480");
}
</script>

没测试过,基本思路就是这样了