getBounds

I was just testing the getBounds in flash and made a little game. The only code is on the main timeline but it does not work. Can someone tell me what i am doing wrong? The game is just supposed to stop you moving into the box movieclip.