Hi,

ContextMenu only works with top-level objects in Flex application.
ContextMenu wouldn't work with any nested object/component, I believe
that is why it is not working with Tree in your case.

Macromedia Flash Player team is looking into this issue and we hope it
gets resolved in future version of Flash Player. For now, you can have
ContextMenu at application level and show relevant menu-items by finding
out where mouse is, when right-click happens.

Please search the flexcoders archives, there has been some discussions
on the same.

http://www.mail-archive.com/flexcoders@yahoogroups.com/


Hope that helps...

Thanks

-abdul

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of shettyaditsathish
Sent: Friday, May 27, 2005 11:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] right mouse click in flex

            I have created a context menu in my root application.
Now i have different components in my root application.I have a tree 
and a datagrid which are the child components of my root application.

      Now in the component in which tree is created ,there is a link bar
(i.e. on top of the tree).There is also a panel on top of tree and Link 
bar.Now the problem is that the right click functionality i have 
created only shows up on the linkBar and panel even though all the 
three are in the same component.
        It never shows up on the tree.Same is the problem with 
datagrid,when i give the id of the component to the contextOver 
attribute of context menu.i have tried my best.Please if someone could 
help me out it would be great. 

         If someone could give  me help on how to invoke the right 
click functionality on the right click of a node of a tree it would be 
great.




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to