Actually in my Application Login Page is Popup..
private var login:Login;
protected function loginPopUpHandler(event:MouseEvent):void
{
login = new Login();
PopUpManager.addPopUp(login,this,true);
PopUpManager.centerPopUp(login);
}
Hear Popup coming Center ….
But I want Popup Below the Button..
i.e… When we click the login Button Popup will open Below the Button..
First of all it depends what
thisis. Ifthisfor example is your Login button you can easily do like this:If your want to use display object as
FlexGlobals.topLevelApplication as DisplayObjectthen you probably want to get you login button fromevent.targetand manipulate with its coordinates. Just try to experiment.Also you maybe will have to use
localToGlobalproperty when playing with coordinates.