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

**URL:** <https://forum.kirupa.com/t/cs3-as2-button-to-rotate-multiple-mcs/269901>\
**Category:** flash\
**Created:** [September 2, 2008, 10:06pm UTC](https://forum.kirupa.com/t/cs3-as2-button-to-rotate-multiple-mcs/269901 "2008-09-02T22:06:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnat](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mnat](https://forum.kirupa.com/u/mnat)\
**Post date:** [September 2, 2008, 10:06pm UTC](https://forum.kirupa.com/t/cs3-as2-button-to-rotate-multiple-mcs/269901/1 "2008-09-02T22:06:13Z")

</div>

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
