flash右键菜单

WEB前端 无名氏 862℃ 百度已收录 扫描二维码
function Url(){
getURL("http://www.mornone.cn/","_blank");
}
function Ver(){
}
function quit1()
{
fscommand("quit");
} // End of the function
var expandmenu = new ContextMenu();
expandmenu.hideBuiltInItems();
var $Url = new ContextMenuItem("Designed By Mornone", Url, true, true);
var $Ver = new ContextMenuItem("Version 1.0.0", Ver, true, false);
expandmenu.customItems.push($Url);
expandmenu.customItems.push($Ver);
//expandmenu.onSelect = menuHandler;
_root.menu = expandmenu;


btn.onRelease = function() {
getURL("http://www.mornone.cn","_blank");
}

本文固定链接:成事博客flash右键菜单
喜欢 (0)分享 (0)