RE: [flexcoders] Select a Tree item on Right click

2006-07-05 Thread Joan Tan
flexcoders@yahoogroups.com Cc: Michael Schmalle Subject: RE: [flexcoders] Select a Tree item on Right click   I have tried this and it has way too many side effects.   I tried using mouseEvent.target and it's not a reference to itemRenderer or DataGridItemRenderer. I also tried "

Re: [flexcoders] Select a Tree item on Right click

2006-07-01 Thread Michael Schmalle
    Thoughts ?   Jason     -Message d'origine-De : flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de Michael SchmalleEnvoyé : samedi 1 juillet 2006 01:24À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] Select a Tree item on Right click

Re: [flexcoders] Select a Tree item on Right click

2006-07-01 Thread milan kosir
ps.comObjet : Re: [flexcoders] Select a Tree item on Right click Yes, I did this back in Flash.You have to write an event handler for the itemRollOver (if the event is still called) that. Record the index from the event. Then in your contextMenu handler have the first thing it

RE: [flexcoders] Select a Tree item on Right click

2006-06-30 Thread Deepa Subramaniam
Well, good news and bad news. Normally, the event object properties on the ContextMenuEvent would help you accomplish what you’re asking for in a cinch. The mouseTarget property on a ContextMenuEvent contains a reference to the display list object which the user was over when the contex

RE: [flexcoders] Select a Tree item on Right click

2006-06-30 Thread Jason Hawryluk
user would soon discover it.    Thoughts ?   Jason     -Message d'origine-De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Michael SchmalleEnvoyé : samedi 1 juillet 2006 01:24À : flexcoders@yahoogroups.comObjet : Re: [flexcoders] Select a Tree ite

Re: [flexcoders] Select a Tree item on Right click

2006-06-30 Thread Michael Schmalle
Yes, I did this back in Flash. You have to write an event handler for the itemRollOver (if the event is still called) that. Record the index from the event. Then in your contextMenu handler have the first thing it does set the selectedIndex of the tree. At this time you can also access the node