There is to right side bounds checking in PopUpManager. Probably a good feature to request.
-Alex From: Maurice Amsellem <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Wednesday, July 31, 2013 9:52 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Problem with PopupManager <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> <s:Button id="btPopup2" top="80" right="50" label="Pop2" click="btPopup2_clickHandler(event)"/> <fx:Script><![CDATA[ import mx.managers.PopUpManager; private function btPopup2_clickHandler(event:MouseEvent):void { var panel: Panel = new Panel(); with(panel){ id="panel"; title="Panel2"; width=200; height =150; } PopUpManager.addPopUp(panel,btPopup2); PopUpManager.centerPopUp(panel); } ]]></fx:Script> </s:Application>
