# Stopping an animation with a mouse over

**URL:** https://forum.kirupa.com/t/stopping-an-animation-with-a-mouse-over/116590
**Category:** Uncategorized
**Created:** [July 19, 2004, 8:11pm UTC](https://forum.kirupa.com/t/stopping-an-animation-with-a-mouse-over/116590 "2004-07-19T20:11:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sci](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@sci](https://forum.kirupa.com/u/sci)
#### Post date: [July 19, 2004, 8:11pm UTC](https://forum.kirupa.com/t/stopping-an-animation-with-a-mouse-over/116590/1 "2004-07-19T20:11:03Z")

</div>

good evening,

absolutely moronic question I’m afraid. (I’m a complete amateur at flash but am enjoying learning it).

I’m trying to create a random picture gallery that displays a selection of pictures, in quick succession. Only one picture appears at a time. I’ve placed 5 small pics in the same place, each in a different frame on the time line and placed a gotoAndPlay(1) on the final frame so it continually cycles through the pics.

I just want the pictures to stop cycling through when the mouse is placed over the top of the pic and to carry on when the mouse is taken off.

I tried making them buttons etc but I’m getting in a bit of a muddle.

thanks for any help.
