# Setting position and resizing help

**URL:** https://forum.kirupa.com/t/setting-position-and-resizing-help/192715
**Category:** flash
**Created:** [June 30, 2006, 1:28pm UTC](https://forum.kirupa.com/t/setting-position-and-resizing-help/192715 "2006-06-30T13:28:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![onecommoncode](https://avatars.discourse-cdn.com/v4/letter/o/47e85d/32.png) [@onecommoncode](https://forum.kirupa.com/u/onecommoncode)
#### Post date: [June 30, 2006, 1:28pm UTC](https://forum.kirupa.com/t/setting-position-and-resizing-help/192715/1 "2006-06-30T13:28:31Z")

</div>

I know this is probably easy to do but for some reason I cannot get this to work. I am using a screen resolution of 1280 x 1024. I have my navigation MC at

navigation\_mc.\_y = 673;  
navigation\_mc.\_x = 946;

I want it to be that when the screen is fullscreen the mc will be at the positions above, but when I resize the browser window, the mc will resize as well. I know how to set the mc at the bottom if I wanted. But I dont know how to set it initially to the positions above but still scale to the browser window.

Below is what I have, but if someone can help me with setting the positions as well as allowing to scale it would be greatly appreciated.

Stage.align = “lt”;  
Stage.scaleMode = “noScale”;  
Stage.showMenu = true;  
\_quality = “high”;

//Center the stage elements  
var myListener:Object = new Object();  
myListener.onResize = function() {  
updateLocations();  
};  
Stage.addListener(myListener);  
updateLocations = function () {  
// Values of the initial .swf width and height  
initialWidth = 950;  
initialHeight = 600;  
// Get the current stage width and height  
currentWidth = Stage.width;  
currentHeight = Stage.height;  
// Position navigation  
navigation\_mc.\_y = 673;  
navigation\_mc.\_x = 946;  
};  
updateLocations();
