I've always been looking for a nice and easy Flash right-click menu builder. This one seems extremely straight-foward and EASY!
function calledFunction1() {
trace("calledFunction1");
}
function calledFunction2(){
trace("calledFunction2");
}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
insertAfter = new ContextMenuItem("Call function 1", calledFunction1);
insertBefore = new ContextMenuItem("Call function 2", calledFunction2);
MENU.customItems.push(calledFunction1);
MENU.customItems.push(calledFunction2);
_root.menu = MENU;
Wednesday, October 7, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment