I have a mxml screen with id=myDisplayObj.I'm using this a
PopUp.and placing this at the center using
"PopUpManager.centerPopUp(myDisplayObj); ". Now i resize my Main
browser window and invoke this PopUp screen. When i Maximize the
Main Browser window, this PopUp Screen is not coming at the center
of the browser. It stays at the same place where it was when the
Browser window was resized.
Please let me know how to put the PopUp Back to the Center of
the Browser when its size is changed.
I'd probably try adding a "resize" event listener to your
<mx:Application/> tag. In the event handler, check that the
myDisplayObj is popped up/created/visible and call