# Adding a \_mc that loads my swf's center

**URL:** https://forum.kirupa.com/t/adding-a--mc-that-loads-my-swfs-center/228723
**Category:** Uncategorized
**Created:** [June 11, 2007, 12:51am UTC](https://forum.kirupa.com/t/adding-a--mc-that-loads-my-swfs-center/228723 "2007-06-11T00:51:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![student07](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@student07](https://forum.kirupa.com/u/student07)
#### Post date: [June 11, 2007, 12:51am UTC](https://forum.kirupa.com/t/adding-a--mc-that-loads-my-swfs-center/228723/1 "2007-06-11T00:51:10Z")

</div>

I’m using this code

```auto
// ***Stage aligned top left
Stage.align = "TL";
// *** Stop the stage from scaling with the browser window.
Stage.scaleMode = "noScale";
stop ();
// initiate postitions and scaling values for objects
bottomstretch._height = Stage.height;
rightstretch._height = Stage.height;
topstretch._width = Stage.width;
rightstretch._x=201;
otherstretch._width = Stage.width;
// end initial position setting

//create a listner that checks to see if the browser window is resized
sizeListener = new Object();
sizeListener.onResize = function() {
    // change movieclip properties when the window is resized.
    topstretch._width = Stage.width;
    otherstretch._width = Stage.width;
    bottomstretch._height = Stage.height;
    rightstretch._height = Stage.height;
    //*note* 200 is the width of the left column
    audio._x = Stage.width - audio._width
};
Stage.addListener(sizeListener);

```

having trouble adding a \_mc that loads my swf’s center, always nomaterr screen size.

Anyone know how this can be tweeked?
