# Stage size in Actionscript 3

**URL:** <https://forum.kirupa.com/t/stage-size-in-actionscript-3/254763>\
**Category:** flash\
**Created:** [March 14, 2008, 11:52pm UTC](https://forum.kirupa.com/t/stage-size-in-actionscript-3/254763 "2008-03-14T23:52:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![webtussy](https://avatars.discourse-cdn.com/v4/letter/w/e47c2d/32.png) [@webtussy](https://forum.kirupa.com/u/webtussy)\
**Post date:** [March 14, 2008, 11:52pm UTC](https://forum.kirupa.com/t/stage-size-in-actionscript-3/254763/1 "2008-03-14T23:52:27Z")

</div>

Hi all, I just landed here after a very long google search, and now finally decided to ask you. I even found the question here on [kirupa.com](http://kirupa.com), but answered to someone using AS 2:  
[http://www.kirupa.com/forum/showthread.php?t=269949](http://www.kirupa.com/forum/showthread.php?t=269949)

I want to get the real size of my SWF, because I want to be able to dynamically add as much content as fits into it, depending on the width of the html-container it’s embedded in. I though this would be done with the Stage properties, but in AS 3 the stage seems to only have the size of the graphical elements it contains, which means in a “noScale” case there is no updated information about the real size of the whole SWF.

Does anyone have more experience with this topic? I don’t know if stage is the right way to do that in AS 3, but I can’t believe it’s impossible, as AS3 should be offering more flexibility than AS2.

Thanks a lot for any advise!

* * *

Sorry people!  
It was easier than expected - I just didn’t realize that the stage.width property in AS 3 has changed to stage.stageWidth!!! Hope that this at least helps some others…
