New to AS2

hello people,

I am new to actionscript and need a little help with they syntax of a little bit of code.

I have an MC on the main timeline. i want this mc to play only when i roll over so i have placed this code one the MC:

on (rollOver)
{
_root.arazM.gotoAndPlay(2);
}

This works without a problem.
When i rolover the MC it plays and thats all good however if the animation is half way through and i rollover again the MC restarts.

I would like to add a condition statment that only allows the movie to play if its current frame is at 1 or only to play if it isnt currently playing.

I appologise if i havent explained it too well.

Thank you for your time

dexs