# Movieclip align question

**URL:** <https://forum.kirupa.com/t/movieclip-align-question/317363>\
**Category:** Uncategorized\
**Created:** [December 17, 2010, 7:08pm UTC](https://forum.kirupa.com/t/movieclip-align-question/317363 "2010-12-17T19:08:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![strawberry](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@strawberry](https://forum.kirupa.com/u/strawberry)\
**Post date:** [December 17, 2010, 7:08pm UTC](https://forum.kirupa.com/t/movieclip-align-question/317363/1 "2010-12-17T19:08:29Z")

</div>

question:  
How can I align a movie clip to bottom right of the stage and keep it there when the browser resize?

Update:  
I was able to figure out the code:  
here it is in case someone needs it

Stage.scaleMode = “noScale”;  
Stage.align = “TL”;  
setStage();  
var stageListener:Object = new Object();  
Stage.addListener(stageListener);  
stageListener.onResize = function() {  
setStage();  
};  
function setStage() {  
var WIDTH:Number = Stage.width;  
var HEIGHT:Number = Stage.height;  
logo.\_x = WIDTH - logo.\_width;  
logo.\_y = HEIGHT - logo.\_height;  
}
