Skip to main content
Participating Frequently
July 9, 2010
Question

No result with this code

  • July 9, 2010
  • 1 reply
  • 374 views

I'm trying to make a button jump to the 3rd frame, but this code doesn't seem to do anything. Do I have to import the Mouse Event?

Code for StartButton:

on (release) {
gotoAndPlay("3");
}

Thanks.

Note:

Code for frame 1 and frame 3:

stop();

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
July 9, 2010

remove the quotes surrounding the three.  retest.

if that fails, is your button a movieclip button?

Participating Frequently
July 10, 2010

It's not a movieclip button, how would you do that?

Edit: I got it, thanks for your time.

kglad
Community Expert
Community Expert
July 10, 2010

you're welcome.