07Aug Flash Tutorial: Flash Stage Size
1,094 views
Recently stumbled onto a blog post that pointed out the fact that you could use loaderInfo.width/height properties in junction with determining the center of the stage. This information helps a lot as I have found that IE6 will sometimes not report the correct size of the SWF in the browser on the stage properties .width or .stageWidth for example.
- stage.width + stage.height – the size of the content on the stage.
- stage.stageWidth + stage.stageHeight – that dimensions of the monitor the flash player is currently consuming
- loaderInfo.width + loaderInfo.height – that of the Fla’s publish settings

