# Constant size of swf file; AS3

**URL:** <https://forum.kirupa.com/t/constant-size-of-swf-file-as3/277309>\
**Category:** flash\
**Created:** [December 10, 2008, 4:30pm UTC](https://forum.kirupa.com/t/constant-size-of-swf-file-as3/277309 "2008-12-10T16:30:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChiWhiteSox56](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@ChiWhiteSox56](https://forum.kirupa.com/u/ChiWhiteSox56)\
**Post date:** [December 10, 2008, 4:30pm UTC](https://forum.kirupa.com/t/constant-size-of-swf-file-as3/277309/1 "2008-12-10T16:30:34Z")

</div>

Hello,

I have a question about exporting an .swf movie at a constant or ‘fixed’ size. I created a little game in Flash CS3 using AS3 (file is attached), and I’m not quite ready to publish it on my site yet. I do, however, still want the game to export at the size of the stage (550x400), and I don’t want the user to be able to change the size of the window. (This causes problems with the game.)

The game is controlled with the left and right arrow keys, and is not finished yet.

Any help would be greatly appreciated! Thank you!

UPDATE: I shouldn’t have named this thread “Constant size of swf **file** ”. I’m not concerned with the file size. I’m trying to fix the dimensions of the swf movie after exporting it from Flash. Sorry about that!
