I think the topic title serves as the question.
So yeah, basically, gotoAndStop() doesn't work. I am using Flash CS3 and AS2.
My code is simple:
It's simple, right?
I put that code into a button. The menu frame is three frames behind the frame that I put the button on. If I replace the "menu" with "game", it works. The game frame is one frame behind the frame the button is on.
What happens is instead of going to the menu frame, it flickers to the menu frame, then reloads the lose frame, which is where the button is. I know that it reloads because I have a dynamic text field that throws a random insult when you enter that frame.
I can assure you. I have already double checked and triple checked that the frame label is correct. And the menu frame has stop() in it. I'm not that stupid, alright?
Any help would be appreciated.
Thanks,
~Raidation
So yeah, basically, gotoAndStop() doesn't work. I am using Flash CS3 and AS2.
My code is simple:
| Code: |
|
on(release) { _root.gotoAndStop("menu"); } |
It's simple, right?
I put that code into a button. The menu frame is three frames behind the frame that I put the button on. If I replace the "menu" with "game", it works. The game frame is one frame behind the frame the button is on.
What happens is instead of going to the menu frame, it flickers to the menu frame, then reloads the lose frame, which is where the button is. I know that it reloads because I have a dynamic text field that throws a random insult when you enter that frame.
I can assure you. I have already double checked and triple checked that the frame label is correct. And the menu frame has stop() in it. I'm not that stupid, alright?
Any help would be appreciated.
Thanks,
~Raidation
