This method intercepts right mouse clicks using javascript, so it should be
adaptable for left/all mouse clicks.  Although I have to agree with Alex, I
other than right mouse clicks, I can't think of a situation where this
wouldn't be overkill.

http://code.google.com/p/custom-context-menu/

- Dan Freiman

On 11/2/07, Alex Harui <[EMAIL PROTECTED]> wrote:
>
>    Why do you have to be that bulletproof?  You'd probably have to find a
> way to block the events from the OS going to the plug-in in the browser.
>
>
>  ------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *workmichal
> *Sent:* Thursday, November 01, 2007 1:52 PM
> *To:* [email protected]
> *Subject:* [flexcoders] Re: Prevent Mouse events
>
>
>
> Hi, thanks for your input; however, this is not a solution that I am
> looking for since for example mouse event will still fire, or click
> event on the shield will still occur. What I am looking for is to
> disconnect mouse events from the flex app so that none of the events
> would ever dispatched.
>
> Thanks,
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, "Alex
> Harui" <[EMAIL PROTECTED]> wrote:
> >
> > stopImmediatePropagation, or place a transparent 'shield' over the app.
> >
> >
> >
> > ________________________________
> >
> > From: [email protected] <flexcoders%40yahoogroups.com> [mailto:
> [email protected] <flexcoders%40yahoogroups.com>] On
> > Behalf Of workmichal
> > Sent: Thursday, November 01, 2007 10:02 AM
> > To: [email protected] <flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Prevent Mouse events
> >
> >
> >
> > Hi there,
> > I am trying to prevent my Flex application from capturing any mouse
> > events within the app. I tried mouseChildren, mouseEnabled but my
> > application is still receiving events like mouse move. Is there a way
> > to disable and enable participation of the mouse within the Flex app?
> > Thank you
> >
>
>  
>

Reply via email to