0
public function SeedsAndPots()
{
startpage = new StartPage();
addChild(startpage);
buttonPage = new ButtonPage();
addChild(buttonPage);
buttonPage.addEventListener(MouseEvent.CLICK, GoToGame);
}
public function GoToGame(e:MouseEvent):void
{
removeChild(startpage);
buttonPage.removeEventListener(MouseEvent.CLICK, GoToGame);
removeChild(buttonPage);
gamePage = new GamePage();
addChild(gamePage);
}
//時間が0の場合、私は自分のGameOver-Pageに行ってください。
}
}Timcounterに0(Flash Builder)が表示されているとき、メインクラスにGameOver-Pageを追加するにはどうすればよいですか?
ありがとう、私はそのコードを試してみよう... –