7/29/2010 8:54:54 AM
Title:
Scale to resolution
I have an AIR application.When I run it on different machines scrollbars will appear.It is not correctly fitting.Is it possible to make the application correctly fit to any resolution.
Please help Thankyou.
7/29/2010 9:57:08 AM
you should use scaleMode to scale your application as the application is resized. This setting will scale the application with resolution preserving the height width proportion.
stage.scaleMode= StageScaleMode.SHOW_ALL;
other settings for scalemode can be
// to fit exactly without preserving the proportion
stage.scaleMode= StageScaleMode.EXACT_FIT;