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

2006-07-05 Thread Joan Tan
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 relatedObject, and it's different

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

2006-07-01 Thread milan kosir
] 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 does set the selectedIndex

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

2006-07-01 Thread Michael Schmalle
-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 Yes, I did this back in Flash.You have

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

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

2006-06-30 Thread Jason Hawryluk
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 item on Right click Yes

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 youre 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