# Movie Clip Control

**URL:** <https://forum.kirupa.com/t/movie-clip-control/317157>\
**Category:** flash\
**Created:** [December 12, 2010, 3:04pm UTC](https://forum.kirupa.com/t/movie-clip-control/317157 "2010-12-12T15:04:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ned](https://avatars.discourse-cdn.com/v4/letter/n/848f3c/32.png) [@ned](https://forum.kirupa.com/u/ned)\
**Post date:** [December 12, 2010, 3:04pm UTC](https://forum.kirupa.com/t/movie-clip-control/317157/1 "2010-12-12T15:04:45Z")

</div>

Hello, I am new to AS3.

I have made a movie clip with simple motion animation.

I am trying to stop the movie after it has played(reached a certain frame). So my movie clip plays and stops at frame 60 for example.

I tried giving the movie clip an instance name and to target it in AS3 with the following code

\*needle.gotoAndStop(60); \*

but this doesn’t seem to work, any ideas will be appreciated

Thank you. :tb:
