# Strange scale problem

**URL:** <https://forum.kirupa.com/t/strange-scale-problem/284002>\
**Category:** Uncategorized\
**Created:** [March 13, 2009, 3:45pm UTC](https://forum.kirupa.com/t/strange-scale-problem/284002 "2009-03-13T15:45:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![torylon](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@torylon](https://forum.kirupa.com/u/torylon)\
**Post date:** [March 13, 2009, 3:45pm UTC](https://forum.kirupa.com/t/strange-scale-problem/284002/1 "2009-03-13T15:45:34Z")

</div>

Hey their folks, lovely forum you got.

I have a difficult qeustion ( I think ).

Well I got a movieclip called my\_tg2, in that movieclip I got a component named my\_tg. Wich is thumbgrid ( photo gallery) .

To the frame of my\_tg2 I added this code:

///

stage.align = StageAlign.TOP\_LEFT;  
stage.scaleMode = StageScaleMode.NO\_SCALE;

stage.addEventListener( Event.RESIZE, handleResize );

function handleResize( event:Event ):void

{  
my\_tg2.width = stage.stageWidth;  
my\_tg2.height = stage.stageHeight;  
}

///

What it does is strange compared to what I heard it SHOULD do.  
It scale’s more to the right then the left when I make the swf or html bigger, when I make the swf fullsize, my movieclip called my\_tg2 is somewhere above my menu bars etc etc.

I’ve tried a lot of variation, went to different forums and mailed the staff of thumbgrid. But no succes.

I hope you folks can help,

Cheers.
