What is the Actionscript code to make Flash jump to another frame?


For instance, I need to make a movie which jumps to another frame and goes back at the end of that clip. I mean:

Starts,
Plays normally till frame 10,
Skips to frame 60,
Plays to frame 70,
Skips back to frame 1,
And the process repeats.

Thanks in Advance.
P.S. Please note that I would rather have the code than the instructions of what to do.

Related posts:

  1. How to create an instance of an object in action script 3?
  2. What are the Open source software than will replace photo-shop, flash and dreamweaver?
  3. are there any open source tools to build flash widgets or do i need adobe flash cs3?

3 Responses to “What is the Actionscript code to make Flash jump to another frame?”

  • Dpac M:

    on frame 10, write:
    gotoAndPlay(60);

    on frame 70, write:
    gotoAndPlay(1);

  • Psycee:

    you said " I need to make a movie that …" and i agree YOU need to make the movie have fun

  • Rasmah.com:

    That so easy .

    go to frame number 10 and press on the frame and open ActionScript panel and write that

    gotoAndPlay(60);

    And this code will skips to 60 and paly .

    now do the same think to frame number 70 and write .

    gotoAndPlay(1);

    Just that all what you need … oooh thank you .. kiss …. oooh welcome.

Leave a Reply