.
var my_menu:ContextMenu = new ContextMenu();
my_menu.hideBuiltInItems();
var my_notice = new ContextMenuItem("xxx");
var my_email = new ContextMenuItem("xx@yoururl.com");
var my_copyright = new ContextMenuItem("Copyright");
my_menu.customItems.push(my_notice, my_email, my_copyright);
contextMenu = my_menu;
0 意見:
張貼留言