2 Replies Latest reply on Sep 22, 2010 12:46 PM by learner_doug

    Fix height of popup window

    jfb00 Level 3

      Hi All,

      How can I open a pop up window with the max height that I can get in the browser or application? i try height="100%"but it's not working.

       

      Also I want the horizontal scroll bar to be hide, I try horizontalScrollPolicy="off"but still show in my window.

      This is my window component:

      <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" width="950" height="100%" close="PopUpManager.removePopUp(this)"
                      showCloseButton="true" creationPolicy="all" horizontalScrollPolicy="off" verticalScrollPolicy="auto" >

      Here is how I call the window component:

      win=myScreen(PopUpManager.createPopUp(this.parentDocument as DisplayObject,myScreen,true));

      win.init();

      PopUpManager.centerPopUp(win);

       

      Thanks

       

      Johnny