# Swf clip alignment please help

**URL:** <https://forum.kirupa.com/t/swf-clip-alignment-please-help/317367>\
**Category:** Uncategorized\
**Created:** [December 17, 2010, 8:36pm UTC](https://forum.kirupa.com/t/swf-clip-alignment-please-help/317367 "2010-12-17T20:36:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![strawberry](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@strawberry](https://forum.kirupa.com/u/strawberry)\
**Post date:** [December 17, 2010, 8:36pm UTC](https://forum.kirupa.com/t/swf-clip-alignment-please-help/317367/1 "2010-12-17T20:36:27Z")

</div>

Hope someone can help me to figure this out  
I have a full browser gallery that loads external images from a xml file  
I also have a movie clip on the main timeline that I dinamically aligned to the center left of the browser using this code:

```auto

Stage.scaleMode = "noScale";
Stage.align = "TL";
setStage();
var stageListener:Object = new Object();
Stage.addListener(stageListener);
stageListener.onResize = function() {
 setStage();
};
function setStage() {
 var WIDTH:Number = Stage.width;
 var HEIGHT:Number = Stage.height;
 about_page._x = 0;
 about_page._y = HEIGHT/2 - (about_page._height /2);
}

```

However, when I preview the movie, the swf does not appear aligned, but if I resize the browser even 1 inch then the swf alignment works!!!  
It is driving me nuts…  
Can someone please help me to work this out?  
I have attached my .fla, my background img and my xml in case someone wants to take a look
