[CS3/AS2]Button to Rotate Multiple MC's

My movie has multiple draggle Movie clips (via a button with an attachMovie function)

I would like to have one button that when clicked will rotate whichever MC on stage the user selected.
Basically if a user clicks on MovieclipA and then hits the rotation button MovieclipA will rotate, but then if they click on MovieclipB and hit the rotation button movieclipB will rotate.

I understand how to do the rotation, but am unsure how to code the “selection” part.
Hope that made sense, all help appreciated