Flash高手帮帮忙,我想实现点击我的Flash然后链接到百度网站,该如何在代码中实现?

来源:百度知道 编辑:UC知道 时间:2024/06/04 17:27:05
请告诉我详细的代码,谢谢!

在你的场景里加个按钮,然后选中那帧写到:

假设你的按钮取名为: Btn

Btn.onPress=function(){
getURL("www.baidu.com",_blank);
}
===============================
哦~我想要改下

getURL("http://www.baidu.com",_blank);

这样应该每问题,我试过了.

使用按钮.然后添加
on(press) {
getURL("xxx.html");
}