How to add context menu in flex

Here is the sample code to add context menu in you flex application I have a tree control on which I need to show a context menu for cut, copy and paste Here is the code for that    [Bindable]  private var cm:ContextMenu=new ContextMenu();    // This function initializes a new Context Menu  private function […]