# Full flash problem...again

**URL:** <https://forum.kirupa.com/t/full-flash-problem-again/206931>\
**Category:** flash\
**Created:** [November 13, 2006, 9:53am UTC](https://forum.kirupa.com/t/full-flash-problem-again/206931 "2006-11-13T09:53:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fried](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@fried](https://forum.kirupa.com/u/fried)\
**Post date:** [November 13, 2006, 9:53am UTC](https://forum.kirupa.com/t/full-flash-problem-again/206931/1 "2006-11-13T09:53:48Z")

</div>

Hi guys,  
I am using this script:

```auto
Stage.scaleMode = "noScale";

Stage.align = "LT";

box2._x = Math.round((Stage.width/2)-(box2._width/2));
box2._y = Math.round((Stage.height/2)-(box2._height/2));

box2.onResize = function() {
	box2._x = Math.round((Stage.width/2)-(box2._width/2));
	box2._y = Math.round((Stage.height/2)-(box2._height/2));
};
Stage.addListener(box2);
box2.onResize();

```

When loading an external swf into box2, the code does not move the box to the middle when the browser is rescaled. What is the problem?
