# Scripts in Child Movie Clips

**URL:** <https://forum.kirupa.com/t/scripts-in-child-movie-clips/267579>\
**Category:** flash\
**Created:** [August 3, 2008, 8:17am UTC](https://forum.kirupa.com/t/scripts-in-child-movie-clips/267579 "2008-08-03T08:17:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Septenary](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@Septenary](https://forum.kirupa.com/u/Septenary)\
**Post date:** [August 3, 2008, 8:17am UTC](https://forum.kirupa.com/t/scripts-in-child-movie-clips/267579/1 "2008-08-03T08:17:30Z")

</div>

I’ve been running across this problem in AS3. Suppose I have a movie clip with a child movie clip on frame 2, and a different child on frame 3. The child on frame 2 has script on its first frame. If I place a “gotoAndStop(3)” command on frame 1 of the parent movie clip, the child on frame 3 is displayed, but the script in the MC on frame 2 still runs! I want playback to skip directly to frame 3, without having anything to do with frame 2. How do I stop the script in the child on frame 2 from running?

Thanks - sorry if the answer is obvious.
