# Full screen Nav and container

**URL:** https://forum.kirupa.com/t/full-screen-nav-and-container/197969
**Category:** flash
**Created:** [August 21, 2006, 12:28pm UTC](https://forum.kirupa.com/t/full-screen-nav-and-container/197969 "2006-08-21T12:28:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Multi\_Task](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)
#### Post date: [August 21, 2006, 12:28pm UTC](https://forum.kirupa.com/t/full-screen-nav-and-container/197969/1 "2006-08-21T12:28:18Z")

</div>

Good morning yall,  
On screen load my container\_mc is always lower right until the screen is adjusted by user thus all content is partially visable until adjusted, when user readjust screen then container\_mc moves to center, any ideas on having it load centered and stay centered from start.

Also looking for some help in having the navigation loaded into main movie that (also holds container\_mc) always be at bottom left. I have tried placing it with \_x and \_y AS but cant seem to get it to where I want.

Peep da Script

```auto

container._x = (Stage.width / 2) - (Stage.width / 2);
container._y = (Stage.height / 2) - (Stage.height / 2);
................................
var resizeObj:Object = new Object();
Stage.addListener(resizeObj);
resizeObj.onResize = function() {
    container._x = (Stage.width / 2) - (Stage.width / 2);
    container._y = (Stage.height / 2) - (Stage.height / 2) ;
}
resizeObj.onResize();

```

Thanks in advance, MT
