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/

Auto-Generated Related Posts:
  1. Flash Tween Proxy Theory...
  2. Simple AI Flash test (old)...
  3. Flash: Creation of general children...

Tags: ,