header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Shyam
Points:0
Posts:0
Answered

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.



1
Wilbur
Points: 260
Posts:0
Accepted Answer
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;


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 4+2 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions