Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

?
Lv 6

How do you jump to frame "x" in Flash CS4 with AS2?

How I want it to work is when a frame is loaded it will then jump to another frame. For example, I have a MovieClip which is 20 frames long inside frame 100 of my game, when the MovieClip reaches frame 20 I want it to tell the game to switch from frame 100 to frame 20. Is this possible?

Update:

And where does that code get placed, in frame 20 of the MovieClip?

1 Answer

Relevance
  • 9 years ago
    Favourite answer

    movieClipName.gotoAndStop(frameNumber)

Still have questions? Get answers by asking now.