On CreationComplete, my app loads a new window and closes the original. The new window features a component. Inside that is some code to load a PopUp Window and I've specified "this" as the DisplayObject. However if I try to center the PopUp, it centers only to the constraints of the component rather than the new window.
Instead of using "this", what else should I be using?