Pausing the randon motion tutorial

Hi I am trying to alter the (http://www.kirupa.com/developer/actionscript/random_motion.htm )random motion tutorial to to have buttons moving randomly. What I want to do is pause the motion of the button when the mouse is over.

Can anyone please help me with this ?

Thank you