Movie Clip Control

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: