# When is stageWidth set?

**URL:** https://forum.kirupa.com/t/when-is-stagewidth-set/279552
**Category:** flash
**Created:** [January 16, 2009, 12:47am UTC](https://forum.kirupa.com/t/when-is-stagewidth-set/279552 "2009-01-16T00:47:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Thinker2501](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Thinker2501](https://forum.kirupa.com/u/Thinker2501)
#### Post date: [January 16, 2009, 12:47am UTC](https://forum.kirupa.com/t/when-is-stagewidth-set/279552/1 "2009-01-16T00:47:53Z")

</div>

I’m working on a site and it seems to me that the value of stageWidth does not seem to be set until you resize the browser window containing the SWF. How do you detect the stageWidth before the window is resized?
