# Rotating MC

**URL:** <https://forum.kirupa.com/t/rotating-mc/181674>\
**Category:** Uncategorized\
**Created:** [March 11, 2006, 9:10pm UTC](https://forum.kirupa.com/t/rotating-mc/181674 "2006-03-11T21:10:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pixeladdict](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@Pixeladdict](https://forum.kirupa.com/u/Pixeladdict)\
**Post date:** [March 11, 2006, 9:10pm UTC](https://forum.kirupa.com/t/rotating-mc/181674/1 "2006-03-11T21:10:03Z")

</div>

hey,

I searched the forums and found a few threads, but they didn’t seem to give me the information I needed.

I have this as my menu, which I would like to rotate (as you might see)

![](http://www.pixeladdict.dk/squares.jpg)

The squares on uses this code to glide around the stage:

//determines how fast the MC morphs  
onClipEvent (enterFrame) {  
power = 6;  
}  
//makes the MC “sqaure” morph into the size the ‘button’ specifies  
onClipEvent (enterFrame) {  
if (\_root.squareONEx) {  
speedx = (\_x-\_parent.squareONEx)/power;  
speedy = (\_y-\_parent.squareONEy)/power;  
\_x -= speedx;  
\_y -= speedy;  
}  
}

Id like to put them into a new MC and add a code, so that the texts get displayed right. No matter which rotation its at.

Can anybody help me with this.

They need to be rotated 0 degrees, 90 degrees, 180 degrees and 270 degrees ccw to display the text rightly, as you can see.

Hope somebody can help me with a script here.

Thanks VERY much in advance  
Morten Rosenberg
