[FMX]Two functions for one movieclip

I have declared two functions to work for one movieclip. The first one start on EnterFrame. The second one should start onRollOver and should pause or end the first one. What is the right notation to do that ?