2 Replies Latest reply on Aug 4, 2011 3:23 AM by BruceND75

    Flex 4: How 2 Set Application Height/Width with Script?

    BruceND75

      I am new to Flex 4 and going through the 3 to 4 migration pain.

       

      I need to set the size of my application programmatically. In Flex 3, I did it this way:

       

      mx.core.Application.application.width  = theWidth; (equivalent for height).

       

      I can not figure out how to do this with Flex 4. Searched high and low.

       

      Help, please! TIA

       

      Bruce