# Window Size

**URL:** https://forum.kirupa.com/t/window-size/26322
**Category:** flash
**Created:** [July 22, 2003, 12:18am UTC](https://forum.kirupa.com/t/window-size/26322 "2003-07-22T00:18:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![amerifax](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@amerifax](https://forum.kirupa.com/u/amerifax)
#### Post date: [July 22, 2003, 12:18am UTC](https://forum.kirupa.com/t/window-size/26322/1 "2003-07-22T00:18:24Z")

</div>

When opening a swf file is there a way to control the size of the window that it opens in? Right now it opens the size window that was last used.

Bob

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 22, 2003, 12:28am UTC](https://forum.kirupa.com/t/window-size/26322/2 "2003-07-22T00:28:24Z")

</div>

If you place this on the first frame of your movie, it will prevent it from scaling out to the window site, it will remain the width and height you defined.

```auto
fscommand(allowscale, false);

```
