Hi I am using PopUpManager for popup windows and I need to center the window. However this window is opened from one of the compoents so it is centered in the middle of the component instead of the main window.
I think I should specify the main application to create the popup in. But I don't know how to refer to the main application.
Can someone help?
FlexGlobals.topLevelApplication Check spelling. On mobile right now.
here is the solution.........
UIComponent(this.parentApplication)---> Refers to parrent application.
Now you will get the popup at the center of application