5 Replies Latest reply on Mar 31, 2011 6:33 AM by Rodrigo Pena

    Flex 4 - center popup

    rudi8889

      How can I center popup window in flex 4 ?

      I have tried:

       

      PopUpManager.addPopUp(AlertPopUp,DisplayObject(spark.components.Application), true);
      PopUpManager.centerPopUp(AlertPopUp);

      but it's problem with conversion Application->DisplayObject.

      Please help