Transitions for buttons

hey how do you make smooth transitions for buttons… lets say that when you put the mouse over then the movie clip plays then when the mouse was removed it will play the outro animation… how do u do that???a
thanks:D