You can file a request, but I think there's already one in there. Several folks already deal with trying to select the item that got right-clicked in a list. They use mouseX/Y and track events to do it.
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Thursday, August 07, 2008 5:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Add a context menu to a menubar item Now that is definitely a hack/Kludge. Is there no other way? Maybe I should file a feature request? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Keep track of rollover events? > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of valdhor > Sent: Wednesday, August 06, 2008 8:36 AM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Re: Add a context menu to a menubar item > > > > Ok, I have created a custom itemRenderer which displays my context > menu perfectly. > > Now, how do I get at the menu item data that the context menu came from. > > IOW, I left click on my menu bar which drops down a menu; I then right > click on a menu item (Let's say it is "Show some Cool Stuff") which > brings up my custom context menu. I then left click on my custom > context menu item. This generates a ContextMenuEvent.MENU_ITEM_SELECT > event which I have an eventListener for. The trouble is, there is > nothing in that event that lets me know what the original item was > that was right clicked on. > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > , "Alex Harui" <aharui@> wrote: > > > > Custom itemRenderer > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of valdhor > > Sent: Tuesday, August 05, 2008 9:05 AM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Add a context menu to a menubar item > > > > > > > > Either this is really easy and I've missed it or it's really quite > > difficult. > > > > I have a MenuBar that is created from an ArrayCollection that is > > returned from a RemoteObject call: > > > > <mx:MenuBar id="menuBar" itemClick="menuHandler(event)" > > dataProvider="{menuBarCollection}" /> > > > > How would I get at each item so I can add a context menu to each menu > > item? > > >