Yes, its for a touch screen medical application that basically adjusts
settings in real time and then when you touch outside the area it closes the
editting dialog.  Since it adjusts real time the design calls for seeing the
thing benig update.

Can I just blanketly listen for the mouse click?  The problem is I don't
know where outside the dialog they will click so I don't want to have to
listen for the event in every single component if I don't want to.

I'll try the stopImmediatePropogation thing tonight.

On 9/1/07, Alex Harui <[EMAIL PROTECTED]> wrote:
>
>    You sure you don't want a modal dialog?
>
>  ------------------------------
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *ben.clinkinbeard
> *Sent:* Saturday, September 01, 2007 11:53 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Re: FlexMouseEvent stop propagation
>
>  I would try listening for the click event also and use
> event.stopImmediatePropagation().
>
> HTH,
> Ben
>
> --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Patrick
> Driggett" <[EMAIL PROTECTED]>
> wrote:
> >
> > I am listening for FlexMouseEvent.MOUSE_DOWN_OUTSIDE so that I can
> > close a dialog when I click outside of it. This works perfectly,
> > however, this also fires a mouse click event after that so the
> > component that happens to be underneath the click handles a mouse
> > click. However, I don't want this to happen, is there an easy way to
> > stop this next event from happening when I handle the
> > MOUSE_DOWN_OUTSIDE event? I'm already doing stopPropagation on the
> > MOUSE_DOWN_OUTSIDE event, but that isn't working for the mouse click
> > event.
> >
> > Thanks,
> > Patrick Driggett
> >
>
>  
>

Reply via email to