# HARD QUESTION: scaling, rotation, and postion manipulation issue!

**URL:** https://forum.kirupa.com/t/hard-question-scaling-rotation-and-postion-manipulation-issue/154558
**Category:** flash
**Created:** [July 11, 2005, 1:36am UTC](https://forum.kirupa.com/t/hard-question-scaling-rotation-and-postion-manipulation-issue/154558 "2005-07-11T01:36:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![blackpulp](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/blackpulp/32/81_2.png) [@blackpulp](https://forum.kirupa.com/u/blackpulp)
#### Post date: [July 11, 2005, 1:36am UTC](https://forum.kirupa.com/t/hard-question-scaling-rotation-and-postion-manipulation-issue/154558/1 "2005-07-11T01:36:16Z")

</div>

hey guys, sorry for that weird title, but its all i could think of…

im having some weird issues when trying to get a movieclip to the center of the screen…

i know all about Stage and the Stage properties, and how to center stuff, thats not the issue here…

so, ive got this site that loads a bunch of content in a spiral (i just put temporary pictures in for now) and then, when u choose a menu choice, its supposed to rotate and zoom to that section…

the problem is that i cant seem to get the sections to center on the stage when they zoom in…

here is what i am doing…

i load a bunch of clips into a container movieclip…then, i scale down each movie as it is loaded, and rotate it slightly…as im doing this, it gets closer and closer to the centerpoint, which is the center of the stage…it starts to form a spiral…

the container movieclip does not have any rotation or scaling on it…to begin with…

then, when you click a menu item, it finds the movieclip that menu is associated with, finds what its current scale is set to, and what its rotation is…then, basically, adds the difference in scale and 100 to the scale of the container movieclip, and rotates the container to the inverse of the rotation on the content movieclip…

so basically, the container\_mc gets larger and rotates to make the content\_mc look like its level and not rotated…

it also figures out what the content\_mc x&y distance is from the center of the container\_mc, and then moves the container\_mc that x&y distance from the center of the stage…so the content\_mc should appear to be centered…

here is the site as it stands right now:

[http://www.inhabitedtheband.com/v2/html/index\_content.html](http://www.inhabitedtheband.com/v2/html/index_content.html)

as you can see, its really early beta here, and the content sections are not centering like i thought they should?

if anyone has any thoughts on this, i would love to hear them!!! THANK YOU SO MUCH! i have been battling this issue for days now, and cant find the resolution…

travis,  
blackpulp
