4 Replies Latest reply on Jul 2, 2008 12:50 AM by sandwicense


    sandwicense Level 1
      in my action script code I have the following function:

      private function showStatistics():void {
      var statisticsWindow:IFlexDisplayObject =
      PopUpManager.createPopUp(this, GalleryStatisticPie, true);

      I call the "GalleryStatisticPie" which is a custom TitleWindow component. When I call the createPopUp() method, I want to center the PopUp on the screen at the same time. I save my application and run it in the browser, but the centerPopUp() method seems to be ignored by Flash. I get no errors and the PopUp appears, but the only thing wrong is that the window is not centering in the middle. What is going on?