I am trying to create an application that is targeted for a resolution of 1024x768. For those will larger resolutions I would like the application to scale to the available area. For those with smaller resolutions I would like the browsers scroll bars to be visable to allow users to still be able to navigate the application.
The applications should not get smaller than 1024x768 but should be allowed to get bigger. I've used constraints to allow the expansion of the area and that works fine, however when I resize the browser to an area of 500x500, the browsers scrollbars do not appear (I would expect them to), meaning that if you have a res of 500x500 then you would not be able to navigate the applications. I've tried using minWidth and maxWidth on the Application but the scrollbars do not show up.
Is there something that I am missing or just not understanding?
Write a Flex ResizeEvent.RESIZE at Global level and handle the screen resolution in the handler and based on the screen dimensions(your browser dimensions) you dynamically assign the size to your application instead of statically assigning the application size at compile time.
If your screen size is greater than your normal resolution (1024x768) give the application dimesnions in percentages and if it is less than the normal resolution then fix the application size to your normal resolution (1024x768).
Hope this works for you...
If this post answers your question or helps, please kindly mark it as such.
if it is less than the normal resolution then fix the application size to your normal resolution (1024x768).
Would this enable the browser scrollbars when the browser window is reduced below 1024x768?
Do you have some sample code that demonstrated this?