Map scrolling

hello there,

I’m having a problem getting my head around how to do the following.

I have a map, placed on the stage in its entirety.

I only want to show a portion of this on screen though. Then as the mouse moves to the edge of this visble frame I want to pan over the map in that direction.

I just can’t work out how to do it. It must be a relatively simple process but for the life of me I can’t work it out.

I’m thinking maybe some kind of mask then you move the map around beneath it?

I’ve been trying to use a couple of scrolling tile-based games tutorials but this is less complicated and I can’t sceen out all the extra stuff the game tutorials are doing. Any help would be greatly appreciated.

Thanks!
M