RE: [flexcoders] dynamic context menu problem

2009-01-30 Thread Gregor Kiddie
The solution I put in place for a similar problem... Add some javascript to eat the right click event (so the default menu isn't shown), and have it dispatch an event to the application. The application then dispatches a RIGHT_CLICK event having it bubble. Any UI component listening for that

Re: [flexcoders] dynamic context menu problem

2009-01-30 Thread Michael Pelz-Sherman
masquerading as a ContextMenu? - Michael From: Gregor Kiddie gkid...@inpses.co.uk To: flexcoders@yahoogroups.com Sent: Friday, January 30, 2009 5:22:20 AM Subject: RE: [flexcoders] dynamic context menu problem The solution I put in place for a similar problem

RE: [flexcoders] dynamic context menu problem

2009-01-30 Thread Gregor Kiddie
...@yahoogroups.com] On Behalf Of Michael Pelz-Sherman Sent: 30 January 2009 15:44 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] dynamic context menu problem Thanks Gregor! This is slightly more elegant than the solution I've come up with. I *think* I follow you up to the last sentence. How

Re: [flexcoders] dynamic context menu problem

2009-01-30 Thread Michael Pelz-Sherman
Ah, got it. Thanks, I wish I had taken this approach from the start! From: Gregor Kiddie gkid...@inpses.co.uk To: flexcoders@yahoogroups.com Sent: Friday, January 30, 2009 11:15:54 AM Subject: RE: [flexcoders] dynamic context menu problem I wrote a routine