0 Replies - 1052 Views - Last Post: 01 May 2006 - 06:34 AM

#1 reyco1  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: 2
  • View blog
  • Posts: 43
  • Joined: 20-March 05

Customized right-click menu

Posted 01 May 2006 - 06:34 AM

Description: place code in frame one of the movieAdd and remove items from the right-click menu (only works in mx2k4 though) Written by: Oleg Lazarenko Original: http://www.flashadvi...d_Right-20.html
// Author: Oleg Lazarenko
// http://www.flashadvisor.com/tutorial/ActionScript/Customized_Right-20.html

MENU = new ContextMenu();
MENU.hideBuiltInItems();

Functioned = new ContextMenuItem("Words", doSomething);

MENU.customItems.push(Functioned);

_root.menu = MENU;

function doSomething() {
     trace("menu");
}


Is This A Good Question/Topic? 0
  • +

Page 1 of 1