I’m trying to get a symbol to play on mouseover and stay on the last frame right at the end of the animation.
- Made a new doc.
- Drew a small circle.
- Turned circle into Movie clip and named it ‘[COLOR=“Red”]circle[/COLOR]’.
- Double clicked on it to edit inside the symbol.
- Made a keyframe on frame 12.
- Did a shape tween.
- Enlarged the shape on frame 12.
- Made new layer on top and put down stop(); at frame 12 AS3.0.
- Went back out to main scene.
- Made new layer on top.
- 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);}
- 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?