Age of Empires style - help!

I was thinkin about a cool thing which i think can be done in flash using AS.

I want to do an age of empire thing.

You click on a villiager and options are listed on the side, create a house or camp. When it is clicked i want to do a ‘drag’ function anywhere on the screen so then you can release the house on the screen (map).

can anyone tel me how to do it or supply a fla example?