0 Replies Latest reply on Nov 7, 2011 11:29 PM by narmathadevi

    modal window

    narmathadevi

      Hi,

       

           In my application dynamically create the window component using "popUpmanager" with "non modal" but when i click the button how to change the "modal" window component .

       

      EX:

       

      import mx.managers.PopUpManager

      import mx.containers.Window

      win = PopUpManager.createPopUp(_root, Window, false,{closeButton:true,title:"welcome"});

      win._x=50;

      win._y=50;

       

      btn.onPress=function()

      {

          trace("click");

          win.modal = true ;

      }

       

      It is not working...