I would do something like this: 1. Add a "click" handler to "popup" on capture rather than "bubble" and give it a high priority. When it catches a click, cancel the event. 2. Create a "screen" component, add it to SystemManager, and paint a rectangle in its graphics with the same dimensions as the screen (with fill alpha as 0) 3. Add a "click" handler to "screen" on bubble, and when it catches a click, remove both "screen" and "popup"
But it seems like a lot of work. You can probably achieve the same thing by being careful with your parameters when you create a normal popup, but I don't know exactly what will work off the top of my head. -Josh On Tue, Nov 18, 2008 at 3:39 PM, sony antony <[EMAIL PROTECTED]>wrote: > > Hi Alex, > > Thanks for reply and I hope this time I could explain it well.. :) > > the dialogue window pops up at a particular position in the page, and when > I scroll down the page(when I come to the bottom of the page) the popup also > comes along. But what I want is the popup should go up with the main page.. > > For example this pop up generates at a text input and I need the pop up to > stick to that text input i.e where it was generated originally. Instead now > it gets detached from the text input and moves down with the page when > scroll down > > > Sony > > > > --- On Tue, 18/11/08, Alex Harui <[EMAIL PROTECTED]> wrote: > > > From: Alex Harui <[EMAIL PROTECTED]> > > Subject: RE: [flexcoders] How to click off a panel > > To: "[email protected]" <[email protected]> > > Date: Tuesday, 18 November, 2008, 12:09 AM > > I don't think I understand what is scrolling. > > > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of sony > > antony > > Sent: Sunday, November 16, 2008 10:46 PM > > To: [email protected] > > Subject: [flexcoders] How to click off a panel > > > > > > Hi.. > > > > I want to make a panel invisible when on mouse click > > outside. > > > > I have tried using Popup manager and mousedownOutside > > event. > > > > But would like to know whether there is any other way to do > > the same. > > > > The problem was When use the popup the window scrolls down > > with the page, but i need the window to stick to it parent > > component. > > > > Thanks and Regards, > > > > Sony > > > > Connect with friends all over the world. Get Yahoo! India > > Messenger at http://in.messenger.yahoo.com/?wm=n/ > > > Be the first one to try the new Messenger 9 Beta! Go to > http://in.messenger.yahoo.com/win/ > > > ------------------------------------ > > -- > 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 > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] :: http://flex.joshmcdonald.info/ :: http://twitter.com/sophistifunk

