The resize event should give you the current width and height. I use this successfully:
** Runs on application resize event */ private function onResize(oEvent:Event):void { if (_popup) { //test for existence of popup _popup.x = this.width - 360; //re-position the popup } }//onResize Tracy Spratt, Lariat Services, development services available _____ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markflex2007 Sent: Wednesday, January 06, 2010 10:04 AM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] How to get Flex application current size(height and Width)? Hi, I try to use resize Event,but I only can get oldHeight and oldWidth. how to get Flex app current Height and Width? Please give me a idea for this. Thanks a lot Mark