Flash: Centering and Scaling

by troy on August 5, 2008

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 trackback }

Flash Tutorial: Flash Stage Size | JADBOX: Web Application Musings
August 7, 2008 at 11:50 am

{ 0 comments… add one now }

Leave a Comment

Previous post: Flash: Beware the Garbage Collector

Next post: Flash:Flickering Animation, dissapearing animation => corrupted symbol