2 Replies Latest reply on Nov 4, 2009 11:31 PM by spies_like_us

    Can I make my windowless application size dynamic?

    spies_like_us

      Hi Flexers,

       

      I have an AIR app that is windowless and uses the following size:

       

      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:scattrbrain="scattrbrain.*"

      height="1500"

      width="620"

      layout="vertical"

      alpha="1.0"

      horizontalAlign="center"

      verticalAlign="top"

      ...

       

      I had to make the height so big because it generates a long list that is dynamic. It could take up 200px or 10000px.  Is there any way to explicitly set the max height of the application to the vertical resolution of the user's screen?  I tried to set this and it doesn't seem to want to do so.

       

      Any help is apprecited!

       

      Thanks!