Custom itemRenderer

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of valdhor
Sent: Tuesday, August 05, 2008 9:05 AM
To: [email protected]
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?



 

Reply via email to