Hi, i currently have a website created 100% in Flex that has
elements centered on the page - annoyingly enough (but not
surprisingly) the page renders differently at different
resolutions. At 1024x768 for example, some elements are completely
cut off, while at higher resolutions, the elements are shifted to
the far left or right.
Is there a way to adapt the site to multiple resolutions
using Flex? I know there's a "Fit to window" approach, but is there
a way to do 1 layout for 1 resolution, save it as a state, detect
another resolution and display another saved state? That would be
so convenient. Please help asap.
I don't know if you can detect the screen resolution in Flex,
just the actual window size. I may be wrong.
But I'm pretty sure you can detect screen resolution with
into Flex. Then make a creationcomplete for the application, and
look at the var to set the state appropriately.