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();