[flexcoders] popup on screen certer?

2012-02-17 Thread markflex2007
Hi
 
 I use s:SkinnablePopUpContainer build a pop component for mobile app
 
 and use the following code to call the popup
 
 var pop:PopUpWindows =  new PopUpWindows(); 
 pop.open(this,true);
 
 
 but the popup always in top-left location of current page. how to make the 
popup on screen certer 
 
 please help
 
 Thanks for help
 
 Mark




Re: [flexcoders] popup on screen certer?

2012-02-17 Thread Jeff Gomes
PopUpManager.centerPopUp(pop);

On 2/17/2012 14:36, markflex2007 wrote:
 Hi

   I uses:SkinnablePopUpContainer  build a pop component for mobile app

   and use the following code to call the popup

   var pop:PopUpWindows =  new PopUpWindows(); 
   pop.open(this,true);


   but the popup always in top-left location of current page. how to make the 
 popup on screen certer

   please help

   Thanks for help

   Mark
   



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links