How to make a tree button sequence

Hey all,
Im a newbee, and im trying to make a single button that when the mouse is hovering over it, it will play and loop. And when mouse is away ot will stop.
The i have setup is in my mouse movieclip I included the stop(); script.
I make a button class with this code


package
{
    import flash.display.MovieClip;
    import flash.events.MouseEvent;
    
    public class CircleButton extends MovieClip
    {
        public function CircleButton()
        {
            this.buttonMode = true;
            this.addEventListener(MouseEvent.MOUSE_OVER, onHover);
        }
        
        private function onHover(event:MouseEvent):void
        {
            this.play();
        }
    }
}

and linked it to my button. Now the problem is, i want it to keep looping while the mouse is on it. How Can i doo that?
Thank you.