First, the release target is the independent Flashplayer player.
Scaling and alignment modes are similar to Flex 4 desktop projects in many places.
Specify the window content area (stage) size for flashplayer by using [SWF (WIDTH=XXX,HEIGHT=XXX)] metadata in Fx:metadata, or by adding-default-size xxx xxx to the compiler parameter. The default size of the stage is still 500x375.
When ScaleMode is Noscale, the stage size and application size change as the window size changes to fill the entire window content area. If ScaleMode is not noscale, unlike desktop programs, the size of the application will not change when the window size changes. The stage dimension is maintained to the initial set size (for example, when Noscale, the window content area becomes 800x600, the stage and application dimensions also become 800x600, such that scalemode changes to another value, The stage size changes back to the initial size 500x375, while the application size is maintained as 800x600 and does not change with the window. )
The effect of the Stage.align value on the SWF content location is the same as for the Flex 4 desktop program, where the window always treats the SWF content size as the initial set size to calculate the positioning, although the size of the SWF stage and application changes with the size of the window in Noscale mode , but the SWF content is still located in the initial size of the SWF, so there will be the same offset error as in the Flex 4 desktop Project
Not to be continued
This article comes from "blog naming is as troublesome as variable name" blog, be sure to keep this source http://cstar.blog.51cto.com/2923639/1570491
Flex 4 Stage.scalemode Detailed (Part two Flex 4 Web project)