Stopping an animation with a mouse over

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.

Yes, make them buttons. Then, use this:[AS]on (rollOver){
stop();
}
on (rollOut){
play();
}[/AS]This should work.

ahhhhh… so simple. Thanks alot for your help wizard.

You’re welcome. :beam: