Crimzaelus
06-10-2005, 09:49 PM
I am currently making a DDR game..and when you have a certain number of misses, 2 moveclips appear:
A 'Play Again' MC and a 'Main Menu' MC
I want the play again MC to go back to frame 1 of the game screen...and it works if I take out the Main Menu function.
So once i program the main menu MC to go back to frame 1 of the Main Menu scene, both buttons go back to main menu. So somehow, they either both restart or both go to main menu. How can I fix this so each has its function when you click it???
Here's the coding: (Play Again)
onClipEvent (mouseDown) {
gotoAndPlay (1);
}
(Main Menu)
onClipEvent (mouseDown) {
_root.gotoMain();
}
for the main menu MC, i've made my own function like this, so the code above works:
function gotoMain() {
gotoAndPlay ("Main", 1);
}
I've tried to use frame labels, using gotoAndPlay/Stop, this.gotoAndPlay/Stop, etc. but nothign works!
I need help..please and thank you.
A 'Play Again' MC and a 'Main Menu' MC
I want the play again MC to go back to frame 1 of the game screen...and it works if I take out the Main Menu function.
So once i program the main menu MC to go back to frame 1 of the Main Menu scene, both buttons go back to main menu. So somehow, they either both restart or both go to main menu. How can I fix this so each has its function when you click it???
Here's the coding: (Play Again)
onClipEvent (mouseDown) {
gotoAndPlay (1);
}
(Main Menu)
onClipEvent (mouseDown) {
_root.gotoMain();
}
for the main menu MC, i've made my own function like this, so the code above works:
function gotoMain() {
gotoAndPlay ("Main", 1);
}
I've tried to use frame labels, using gotoAndPlay/Stop, this.gotoAndPlay/Stop, etc. but nothign works!
I need help..please and thank you.