In my project, I have an animation play on rollover, but I only want it to be able to happen once... So I want to disable the rollover code if it's already happened once (and have the mc that animated stay in it's finished state).

This is the code I currently have...

Code:
button_mc.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver, false, 0, true);
 
function manageMouseOver(event:MouseEvent):void{
  gotoAndPlay("2");
}