4 Replies Latest reply on Oct 14, 2010 7:11 AM by ilya_k

    Centering or positioning a PopUp

    ilya_k Level 1

      Hi all,


      I have .as class which creates TitileWindow


      var pv:SCCPerspectiveView = new SCCPerspectiveView();


      where SCCPerspectiveView "IS A" TitleWindow. Then I have


      var someDialog:SomeDialog = new SomeDialog();


      PopUpManager.addPopUp( pv as IFlexDisplayObject, UIComponent( myApplication ), true );

      PopUpManager.centerPopUp( pv as IFlexDisplayObject );


      PopUp always shows in the upper left corner. How to center it? Or more generic question how to

      show it in a certain position?


      Thank you.