# onResize question

**URL:** <https://forum.kirupa.com/t/onresize-question/226191>\
**Category:** flash\
**Created:** [May 18, 2007, 5:58pm UTC](https://forum.kirupa.com/t/onresize-question/226191 "2007-05-18T17:58:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![88635csi](https://avatars.discourse-cdn.com/v4/letter/8/c5a1d2/32.png) [@88635csi](https://forum.kirupa.com/u/88635csi)\
**Post date:** [May 18, 2007, 5:58pm UTC](https://forum.kirupa.com/t/onresize-question/226191/1 "2007-05-18T17:58:56Z")

</div>

I’m trying to figure out how to get my logo to stay at the bottom right of the page all the time. I used Stage.align and onResize but the problem is that my logo ony aligns when you go to resize the window, and it “jumps” into place. I want it to pop up in the bottom right and then stay there, regardless of the window size. You can view it at This is my code:

```auto

stop()
Stage.align = "BL";
Stage.scaleMode = "noScale";
stop ();
logomc._x = Stage.width - logomc._width;
tower._y = Stage.height - tower._height;

sizeListener = new Object();
sizeListener.onResize = function() {
logomc._x = Stage.width - logomc._width;
	tower._y = Stage.height - tower._height;
};
Stage.addListener(sizeListener);

```

Thank you for your help!
