# Goto command

**URL:** <https://forum.kirupa.com/t/goto-command/29032>\
**Category:** Uncategorized\
**Created:** [August 21, 2003, 12:02pm UTC](https://forum.kirupa.com/t/goto-command/29032 "2003-08-21T12:02:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![something369](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@something369](https://forum.kirupa.com/u/something369)\
**Post date:** [August 21, 2003, 12:02pm UTC](https://forum.kirupa.com/t/goto-command/29032/1 "2003-08-21T12:02:17Z")

</div>

Hi,

I need to set up a pathway,

I would like to use the gotostop command to go to frame 3 of a movie clip which is in the over state of a button.

Can someone please show me the code to target a movie clip in a button with an action.

thanx…

---

<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:** [August 21, 2003, 3:26pm UTC](https://forum.kirupa.com/t/goto-command/29032/2 "2003-08-21T15:26:29Z")

</div>

Could you post your FLA?

You’ll need to add  
[AS]gotoAndPlay(//frameNumber);[/AS]  
to the button.

---

<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:** [August 21, 2003, 3:30pm UTC](https://forum.kirupa.com/t/goto-command/29032/3 "2003-08-21T15:30:52Z")

</div>

I don’t even know if it will work targeting a movie clip symbol placed inside a frame in a button symbol, if it does work it seems quite inefficient to me.

Perhaps you are better off just using a movie clip symbol as a button instead.

What are you trying to do?
