1 Reply Latest reply on Aug 22, 2008 10:57 AM by texas_stingray

    Constraining an application to a <div>


      I want to place an <mx:application .../> in a <div> and constrain the size of the application to the size of the containing <div>. I've tried setting height & width to 100% and smaller, but when the page is displayed the <div> has scrollbars because the application is larger than the <div>. I've attached simple html & mxml files that demonstrate the behavior I'm seeing. Is there a way to have the application automatically sized to fit inside the div?