# Action Script at End of Movie Clip (not working)

**URL:** https://forum.kirupa.com/t/action-script-at-end-of-movie-clip-not-working/150681
**Category:** flash
**Created:** [June 9, 2005, 2:54pm UTC](https://forum.kirupa.com/t/action-script-at-end-of-movie-clip-not-working/150681 "2005-06-09T14:54:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Twisk](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@Twisk](https://forum.kirupa.com/u/Twisk)
#### Post date: [June 9, 2005, 2:54pm UTC](https://forum.kirupa.com/t/action-script-at-end-of-movie-clip-not-working/150681/1 "2005-06-09T14:54:03Z")

</div>

My Flash file contains two scenes: “preloader” and “scene 1”. There are two movie clips in my library.

“scene 1” has two frames. Frame 1 has the first movie clip. Frame 2 has the second movie clip. Frame 1 and 2 both have actions to stop, so that the movie clips will play.

I have placed this action at the end of the first movie clip: “\_parent.gotoAndStop(2);”. The theory is that at the end of the first movie clip, it will go to frame 2 in “scene 1” and stop… allowing the second movie clip to play.

My problem: At the end of the first movie clip, I’m taken to the preloader instead, I can’t seem to figure out how to tell the end of my first movie clip to simply go to “scene 1” and stop at frame 2.
