I just created a test project in the following way:
I created a blank mc on the first frame. On the frame I put:
stop();
On the actions for the mc I put:
onClipEvent(enterFrame)
{
this._x -=5;
}
Inside the blank mc I created a black button. On the button I put the following code:
on(rollOver)
{
_root.gotoAndStop(2);
}
On the second frame I added a gameover message.
On testing the project I see the black button move to the left until it touches my mouse and then the movie goes to the game over message.
This isn't exactly the most efficient way to do it, but it's how I thought you were approaching it. If you did it this way and it still doesn't work double check. If you did it some other way you need to better explain how you laid it out and the other codes you are using.