# Go to movie clip frame?

**URL:** <https://forum.kirupa.com/t/go-to-movie-clip-frame/96715>\
**Category:** Uncategorized\
**Created:** [December 12, 2003, 5:04pm UTC](https://forum.kirupa.com/t/go-to-movie-clip-frame/96715 "2003-12-12T17:04:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![riderchic88](https://avatars.discourse-cdn.com/v4/letter/r/77aa72/32.png) [@riderchic88](https://forum.kirupa.com/u/riderchic88)\
**Post date:** [December 12, 2003, 5:04pm UTC](https://forum.kirupa.com/t/go-to-movie-clip-frame/96715/1 "2003-12-12T17:04:21Z")

</div>

Quick question… I feel stupid but can’t for the life of me get this to work (and I’ve searched and searched…)

I need to have a movie clip go to a certain frame upon getting to a certain frame in the main timeline. How do I do this?

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:** [December 12, 2003, 5:06pm UTC](https://forum.kirupa.com/t/go-to-movie-clip-frame/96715/2 "2003-12-12T17:06:13Z")

</div>

When it gets to the certain frame put the following code on it:

gotoAndPlay(x);

where x = the number of the frame you want it to go to.

Use gotoAndStop(x); if you want the movie to stop when it gets there.

---

<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:** [December 12, 2003, 5:18pm UTC](https://forum.kirupa.com/t/go-to-movie-clip-frame/96715/3 "2003-12-12T17:18:31Z")

</div>

Wait… worked with the number, not with the label… _smack self_

Is that supposed to happen? I mean it works, so I’ll just keep doing that, but I thought that’s what labels were for…

---

<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:** [December 12, 2003, 5:36pm UTC](https://forum.kirupa.com/t/go-to-movie-clip-frame/96715/4 "2003-12-12T17:36:56Z")

</div>

You have to put quotes for the labels [AS]gotoAndPlay(“label”);[/AS]  
🙂
