# Fixed size actionscript project

**URL:** https://forum.kirupa.com/t/fixed-size-actionscript-project/272698
**Category:** Uncategorized
**Created:** [October 7, 2008, 7:54pm UTC](https://forum.kirupa.com/t/fixed-size-actionscript-project/272698 "2008-10-07T19:54:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tcoulson](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@tcoulson](https://forum.kirupa.com/u/tcoulson)
#### Post date: [October 7, 2008, 7:54pm UTC](https://forum.kirupa.com/t/fixed-size-actionscript-project/272698/1 "2008-10-07T19:54:42Z")

</div>

I have an ActionScript project in flex which I place the following code:

```auto
package {
    import flash.display.Sprite;
    import flash.events.Event;

    public class testing extends Sprite
    {
        public function testing()
        {
            stage.scaleMode = "noScale"
            stage.align = "TL"
            stage.addEventListener(Event.RESIZE, onResize);
        }
        public function onResize(event:Event):void{
            trace("Width: "+stage.stageWidth);
            trace("Height: "+stage.stageHeight);
        }
    }
}

```

The problem is when I resize below 465 width it keeps saying the width is 465, it stays fixed. Is there a setting in Flex I am missing? I didn’t see any width or height properties when creating the project? TIA:beam:
