0 Replies Latest reply on Jun 9, 2011 12:55 AM by BatistutaGab

    How to trigger the opening of the ContextMenu?




      I've create a Tree with my own TreeItemRenderer. Now I want to open/display the contextMenu of a TreeItemRenderer when I want. I don't want to use the "right click" behavior.


      I was thinking about dispatch an event on the ItemRenderer but I don't know wich event could do that. I saw as well that in Flex AIR, it's possible to use the function display(stage,x,y) to display the context menu everywhere. However we can't use it in Flash.


      Do you have any idea to solve that? Or an another solution to force the displaying of a contextMenu.


      Many thanks,