How do I make my button with this actionscript code go to more than one frame,
I want to be able to go to frame 1, then to frame 2, then to frame 3 and back to frame 1.
when i use code below it will default to frame 1 and if I click on button it will go to frame 2 and back to 1 but it will not go to frame 3. How do I do this?
here is the code:
on (release) {
gotoAndPlay(1);
}
I was trying it like this but it does not work
on (release) {
gotoAndPlay(1,2,3);
}
I was trying it like this but it does not work
on (release) {
gotoAndPlay(1-3);
}
If anyone can help that would be great or knows what I am talking about or can help me,
Dan