Hello all.
This is my situation. I have a flash file with two scenes in it. The second scene has two frames. Both frames have the stop script on them.
In the second scene's first frame i have a movie clip and within this movieclip i have a button. The idea is when i press this button i get to the second frame (of scene 2 which im in).
This is the script i had on it.
Code:
on (release) {
_root.gotoAndStop(2);
}
I have limited scripting knowledge but i thought this would work. These are the scripts i have tried:
Code:
on (release) {
_root.gotoAndStop("Scene 2", 1);
}
Code:
on (release) {
gotoAndStop("Scene 2", 1);
}
Code:
on (release) {
_parent.gotoAndStop("Scene 2", 1);
}
Code:
on (release) {
_parent.gotoAndStop("1);
}
But it seems that if they are not working at all they all go back to frame 2 in the first scene (and not the second like i want)
What seems to be the problem here? I feel like i tried everything.