# Aligning

**URL:** <https://forum.kirupa.com/t/aligning/113312>\
**Category:** Uncategorized\
**Created:** [June 16, 2004, 8:48pm UTC](https://forum.kirupa.com/t/aligning/113312 "2004-06-16T20:48:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chunk](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@chunk](https://forum.kirupa.com/u/chunk)\
**Post date:** [June 16, 2004, 8:48pm UTC](https://forum.kirupa.com/t/aligning/113312/1 "2004-06-16T20:48:05Z")

</div>

I have got a MC to align to the bottom of me site, and when the site resizes the MC goes with the browser. its really “spiffy” but how do i get it to align in the middle aswell. thanks !

> inyer.onResize = function() {  
> var bounds = this.getBounds(this.\_parent);  
> var yoffset = this.\_y-bounds.yMax;  
> this.\_y = Stage.height+yoffset;  
> };  
> inyer.onEnterFrame = function() {  
> var bounds = this.getBounds(this.\_parent);  
> var yoffset = this.\_y-bounds.yMax;  
> this.\_y = Stage.height+yoffset;  
> };  
> Stage.addListener(Interface);  
> Stage.align = “TM”;  
> Stage.scaleMode = “noScale”;

inyer - is my MC

has anyone got any surgestions ?

thanks alot for your time !
