flash播放完毕后自动跳转代码
03月 1st, 2008 孤独时的落寞 Post in 在线学习
最简单的方法:
在FLASH最后一帧加上以下代码:
getURL(”htpp://主页地址”, “_self”);
stop;
还有另外种方法:
在flash播放完毕后最后一个关键帧动作
this.stop();
flash.external.ExternalInterface.call(”gourl”, ”);
然后在要执行跳转的页面上加
<script language=’javascript’>
function gourl(){
setTimeout(”window.location.href=’http://blog.woaini.info”,10000);
}
</script>
1000是可以限制跳转的时间。
