[code]function tab(){
}
function url1(){
getURL(“http://www.9sky.com”, “_blank”);
}
function url2(){
getURL(“http://www.zhugao.cn”, “_blank”);
}
var expandmenu = new ContextMenu();
expandmenu.hideBuiltInItems();
var $tab1 = new ContextMenuItem(“9skyNetPlayer version 1.0”, url1, true, true, true);//更改背后三个”true”可以达到不同的效果, 下同。可设置的值为: true / false
var $tab2 = new ContextMenuItem(“http://www.9sky.com”, url1, false, false, true);
var $tab3 = new ContextMenuItem(“creator: zhugao”, url2, true, true, true);
var $tab4 = new ContextMenuItem(“http://www.zhugao.cn”, url2, false, false, true);
expandmenu.customItems.push($tab1, $tab2, $tab3, $tab4);
expandmenu.onSelect = menuHandler;
_root.menu = expandmenu;
[/code]