Moving an object within a set boundary and 'pasting' that object on left click

Hi,

I am about to start work on a project using a map and some graphics that need to be ‘pasted’ onto it as templates for something. The map will contain an irregularly shaped boundary. I want the user to select a template from a menu, move this template around inside the boundary and on left click, this template is pasted onto the map.

Following on from that, I want to be able to rotate the template around within the boundary with it ‘hinging’ or pivoting on 1 corner. The template image will be a rough rectangular shape.

Any pointers, examples, links to tutorials etc. would be appreciated. I havent been near Flash in a while and looking to get back into it for this project.

Thanks in advance