context menu

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

context menu

cholid cholid
Hi All

to use context menu and use it to make new tab in browser im use this sample:
            private function B(evt:ContextMenuEvent):void {
            navigateToURL(new URLRequest("http://www.google.com"),"_blank");
            }

and for the function in context menu, im use this sample:

            private function A(evt:ContextMenuEvent):void {
            app().goToNodePage();
            }

how the second sample can add new tab (at browser)
like at first sample?
Thanks for Advice


     
Reply | Threaded
Open this post in threaded view
|

Re: context menu

wisdom
This post has NOT been accepted by the mailing list yet.
to make the ContexMenu show  u have to do this in this
where clientTree is ur grid
clientTree.contextMenu = cm;

  int() funtion after all ur code