Categories Displayed in Flash

Flash: Centering and Scaling

Been working on some fluid layout and centering projects. For reference:

  • 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

Got the 2nd and 3rd confused, so only started seeing problems when they were published (doh!)

1 responses to 'Flash: Centering and Scaling'

[...] http://troyworks.com/blog/ Share and Enjoy: [...]

Add a Comment: