var menuItem1:ContextMenuItem = new ContextMenuItem("欢迎访问中国陆航论坛");
var menuItem2:ContextMenuItem = new ContextMenuItem("联系站长");
menuItem1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,reg);
menuItem2.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,F);
var myMenu:ContextMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(menuItem1);
myMenu.customItems.push(menuItem2);
contextMenu = myMenu;
function reg(e:ContextMenuEvent) {
var tagetURL:URLRequest = new URLRequest("http://www.chinaluhang.cn/bbs/");
navigateToURL(tagetURL);
}
function F(e:ContextMenuEvent) {
var tagetURL:URLRequest = new URLRequest("http://wpa.qq.com/msgrd?v=1&Uin=692499304&Site=&Menu=yes");
navigateToURL(tagetURL);
}