# Alignment issue

**URL:** https://forum.kirupa.com/t/alignment-issue/193789
**Category:** flash
**Created:** [July 18, 2006, 2:00pm UTC](https://forum.kirupa.com/t/alignment-issue/193789 "2006-07-18T14:00:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gabydog](https://avatars.discourse-cdn.com/v4/letter/g/919ad9/32.png) [@gabydog](https://forum.kirupa.com/u/gabydog)
#### Post date: [July 18, 2006, 2:00pm UTC](https://forum.kirupa.com/t/alignment-issue/193789/1 "2006-07-18T14:00:47Z")

</div>

Hi,

I have created a stage 800x600 and I used the code below to align two movieclips to the centre of the stage. But I have a third movieclip that I would like to be at the top left of the 800x600 center stage not the top left of the screen. Can anyone help with this? Thanks!

Stage.align = “LT”;  
Stage.scaleMode = “noScale”;  
rez = new Object();  
rez.onResize = function() {  
content\_mc.\_xscale = Stage.width-10;  
if (content\_mc.\_xscale\>100) {  
content\_mc.\_xscale = 100;  
}  
zoom.\_x = Stage.width/2;  
zoom.\_y = Stage.height/2;  
content\_mc.\_x = Stage.width/2;  
content\_mc.\_y = Stage.height/2;  
};  
Stage.addListener(rez);  
rez.onResize();
