Hello Kirupa Forum,
I have attached the following to a button:
on (press) {
gotoAndPlay(1);
}
or
on (release) {
gotoAndPlay(1);
}
It is meant to take the user back to frame one where they can play a game again. The only problem is that it doesn’t work. When you click the button it goes to the frame but quickly resets back to the frame where the button is located. I have put stop(); code where relevant.
I am unsure on what to do. I just want the user to be able to go to different frames but the button keeps reseting to the frame where it is originally located.
Any help? Thanks in advance!