# How do I change stage dimensions?

**URL:** https://forum.kirupa.com/t/how-do-i-change-stage-dimensions/324950
**Category:** flash
**Created:** [September 17, 2011, 6:58am UTC](https://forum.kirupa.com/t/how-do-i-change-stage-dimensions/324950 "2011-09-17T06:58:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Joseph\_Dowling](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@Joseph\_Dowling](https://forum.kirupa.com/u/Joseph_Dowling)
#### Post date: [September 17, 2011, 6:58am UTC](https://forum.kirupa.com/t/how-do-i-change-stage-dimensions/324950/1 "2011-09-17T06:58:58Z")

</div>

i’m using AS3 and I’m trying to change the stage dimensions to get bigger when I press a button. The current dimensions are 550 x 700, and I thought the code:import flash.events.MouseEvent;btn.addEventListener(MouseEvent.CLICK, makeStageBigger);function makeStageBigger(evt:MouseEvent) { stage.stageWidth = 800; stage.stageHeight = 900;}would work, but nothing happens. I’m getting no errors or anything, but when I click the button, it doesn’t work. Any suggestions?
