0
import flash.events.MouseEvent;
stop();



button1.addEventListener(MouseEvent.CLICK, gobutton1);
function button1_clicked(e:MouseEvent):viod{
        gotoAndStop("page1");
}

button2.addEventListener(MouseEvent.CLICK, gobutton2);
function button2_clicked(e:MouseEvent):viod{
        gotoAndStop("page2");
}

button3.addEventListener(MouseEvent.CLICK, gobutton3);
function button3_clicked(e:MouseEvent):viod{
        gotoAndStop("page3");
}

button4.addEventListener(MouseEvent.CLICK, gobutton4);
function button4_clicked(e:MouseEvent):viod{
        gotoAndStop("page4");
}

我在第 7、12、17 和 22 行遇到 1046 错误

4

1 回答 1

2

void您在所有函数定义的末尾拼写错误。

function button1_clicked(e:MouseEvent):viod
// -------------------------------------^^
于 2013-06-27T22:56:23.653 回答