"Dont move over the borders" question

I’m building up this site, www.jpag.frac.dk/side_kast1.html , and my idea is, that when you press those small buttons you move a movieclip. My question is; How do i create, so that the movieclip doesnt move over the boarders in the box?

Thanks in advance!

-JPAG

PS. I have credited squidfingers :), just right-click and you’ll see it :slight_smile:

Well, i can’t upload the .fla and it 80 KB so i can’t put it here! :ninja:

The hole square is in 1 movieclip.

EDIT: Maybe i need to re-explain: I want the movieclip to move further that the border, but it must not be seen outsite the border. Hope you understand