So I have made 4 scenes. In the first scene there are 2 buttons, they both go the same next scene. In this next scene there's another button, but based on which button you clicked in the first scene, you go to the next.
Lets make it more clear:
Scene 1: Button1 and Button2
Scene 2: Button
Scene 3: Outcome based on Button1
Scene 4: Outcome based on Button2
This is what I've got:
scene1:
button1.addEventListener(MouseEvent.CLICK, nextSceneB1);
button2.addEventListener(MouseEvent.CLICK, nextSceneB2);
function nextSceneB1(event)
{
MovieClip(root).gotoAndPlay(1,"scene2"); /
}
function nextSceneB2(event)
{
MovieClip(root).gotoAndPlay(1,"scene2"); /
}
Scene 2: dont know what to add here
Scene 3: Outcome based on Button1
Scene 4: Outcome based on Button2
What should I do?