# Stop on last frame

**URL:** https://forum.kirupa.com/t/stop-on-last-frame/301192
**Category:** Uncategorized
**Created:** [December 4, 2009, 7:37pm UTC](https://forum.kirupa.com/t/stop-on-last-frame/301192 "2009-12-04T19:37:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Random90s](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Random90s](https://forum.kirupa.com/u/Random90s)
#### Post date: [December 4, 2009, 7:37pm UTC](https://forum.kirupa.com/t/stop-on-last-frame/301192/1 "2009-12-04T19:37:26Z")

</div>

I’m trying to get a symbol to play on mouseover and stay on the last frame right at the end of the animation.

1. Made a new doc.
2. Drew a small circle.
3. Turned circle into Movie clip and named it ‘[COLOR=“Red”]circle[/COLOR]’.
4. Double clicked on it to edit inside the symbol.
5. Made a keyframe on frame 12.
6. Did a shape tween.
7. Enlarged the shape on frame 12.
8. Made new layer on top and put down stop(); at frame 12 AS3.0.
9. Went back out to main scene.
10. Made new layer on top.
11. Selected first frame and put this down in AS3.0:

[COLOR=“red”]circle[/COLOR].addEventListener(MouseEvent.MOUSE\_OVER,zoom);

function zoom(event:MouseEvent):void  
{[COLOR=“red”]circle[/COLOR].gotoAndPlay(1);}

1. Left it to test.

Everything runs fine except that when I scroll over the circle the animation plays out but returns to the first frame. I need it to play till the last frame and stay there.

Help please?
