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

http://troyworks.com/blog/


Author: Jonathan Dunlap
Jonathan is a veteran software architect, author of IsoHill, humanitarian, and has worked with Bigpoint Inc, CrowdStar, ePrize, and Microsoft.

Tags: ,