1021: 函数定义重复。

代码如下:exit_btn.addEventListener(MouseEvent.MOUSE_DOWN,hd);function hd(e:MouseEvent){on(release)NativeApplication.nativeApplication.exit(0);}play_btn.addEventListener(MouseEvent.MOUSE_DOWN,hd);function hd(a:MouseEvent){gotoAndStop(2)}get_btn.addEventListener(MouseEvent.MOUSE_DOWN,hd);function hd(b:MouseEvent){getURL("http://tieba.baidu.com");}场景 1, 图层'图层 9', 帧 1,6 行 1021: 函数定义重复。场景 1, 图层'图层 9', 帧 1,8 行 1021: 函数定义重复。刚刚开始学这个,不知道怎么弄了,帮忙看下谢谢
2026-12-03 23:43:18
推荐回答(1个)
回答1:

function hd重复定义阿
换个名字吧,比如hd1, hd2这种