I just found my answer:
http://livedocs.adobe.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=00001276.htm

The ContextMenu has an event: ContextMenuEvent.MENU_SELECT




--- In [email protected], "toofah_gm" <[EMAIL PROTECTED]> wrote:
>
> Thanks for the response!
> 
> The trouble is that I need to do a lookup that can't really be
> databound in order to determine whether or not to enable the menu
> item.  I really need to update it just before the context menu comes up.
> 
> --- In [email protected], "johantrax" <johan.temmerman@>
> wrote:
> >
> > Well, if I recall correctly, the right-click-event doesn't exist in
> > Flash. 
> > 
> > However you can alter the contextMenu.customItems (Array) of a
> > component at any time, being even when it's not visible. And you can
> > even use data-binding on it's items.
> > 
> > Good luck,
> > --jeetee
> > 
> > --- In [email protected], "toofah_gm" <garym@> wrote:
> > >
> > > Did anyone see this post?  Is there really no trigger to use?
> > > 
> > > 
> > > --- In [email protected], "toofah_gm" <garym@> wrote:
> > > >
> > > > Is there an event that I can use to know that the ContextMenu is
> about
> > > > to pop up when the user Right Clicks?  I would like to run
some code
> > > > to enable/disable some of my custom context menu items.
> > > > 
> > > > Thanks!
> > > > 
> > > > Gary
> > > >
> > >
> >
>


Reply via email to