# Movie control question

**URL:** <https://forum.kirupa.com/t/movie-control-question/57638>\
**Category:** Uncategorized\
**Created:** [July 14, 2004, 10:13pm UTC](https://forum.kirupa.com/t/movie-control-question/57638 "2004-07-14T22:13:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bajarider](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bajarider](https://forum.kirupa.com/u/bajarider)\
**Post date:** [July 14, 2004, 10:13pm UTC](https://forum.kirupa.com/t/movie-control-question/57638/1 "2004-07-14T22:13:20Z")

</div>

Flash MX-

I have an internal swf file play within a main swf file. At the end of the internal swf file timeline I want the timeline of the main swf to go to a certain frame and stop.

Please advise. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 14, 2004, 10:41pm UTC](https://forum.kirupa.com/t/movie-control-question/57638/2 "2004-07-14T22:41:43Z")

</div>

Put this at the end of the internal swf timeline …

\_root.gotoAndStop(frameNumber);

I haven’t tried this, but I think it might work 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 15, 2004, 4:03pm UTC](https://forum.kirupa.com/t/movie-control-question/57638/3 "2004-07-15T16:03:31Z")

</div>

> [@Michael Chen](#):
>
> Put this at the end of the internal swf timeline …
> 
> \_root.gotoAndStop(frameNumber);
> 
> I haven’t tried this, but I think it might work 🙂

Thank you! It worked!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 15, 2004, 8:29pm UTC](https://forum.kirupa.com/t/movie-control-question/57638/4 "2004-07-15T20:29:20Z")

</div>

😃
