6 Replies Latest reply on May 6, 2011 2:43 PM by mitz11

    controlling background width/height in 3.5

    mitz11 Level 1

      Hello all, I'm stuck on a problem I've been trying to solve in 3.5.  I've seen a few solutions in 4.0 and above, but that doesn't help my situation.

       

      I want the application background image to maintain its aspect ratio, while still being as large as possible in the screen.  It should update as I stretch and resize the screen.  I can't find a way to do this in CSS or with the MXML.  I feel like the solution might have to do with overloading updateDisplayList(), but I just can't figure out what I need to do in there. 

       

      Thanks in advance!