0 Replies Latest reply on May 26, 2014 10:35 PM by arunvirsingh

    Make mx:Window resizable

    arunvirsingh

      I have created a class PreviewWindow derived from mx:Window in flex. I am using Extension Builder 2.1 amd Adobe Flash Builder 4.6.

       

      I have set resizable flag to true in PreviewWinwow class as below:-

       

      <mx:Window

          xmlns:mx="http://www.adobe.com/2006/mxml"

          layout="absolute"

          resizable="true"...

      ................

       

      I am using this PreviewWindow class to show preview of an image in a window as below:-

       

      var previewWindow:PreviewWindow  = new PreviewWindow();

      previewWindow.type = CSXSWindowType.PANEL; //set winow open type to panel

      previewWindow.open(); //Open the window

       

      But the window which I opened above is not resizable even when I have set the resizable flag to true.
      Please help me so that I can have a resizable window.

      Thanks