I am trying to center a popup window that is being displayed from a tree. If you just call the static centerPopUp it centers it in the tree. When you add the popup though i noticed the second argument is the parent object. How can I get a reference to the stage itself so I can center this popup correctly.
//add modal window
PopUpManager.addPopUp(_renamedir,this,true);
//center modal window
PopUpManager.centerPopUp(_renamedir);
Thank You
Dan Vega
[email protected]
http://www.danvega.org

