A Question to do with Movement Using ActionScript

I went through the tutitoral my question is what action script do you use to stop the box from moving for instance you can rollover to make the box move but then how do you make it so when you roll out the box will stop?

Thanks
Marcel