in Technology

ContextMenu; selective menu items

With Flash MX 2004, it is now known that you can play around with the //here is a simple example to //hide selective menu items from the context menu conMenu_cm = new ContextMenu (); //remove the menu items "zoom" and "quality" conMenu_cm.builtInItems.zoom = false; conMenu_cm.builtInItems.quality = false; _level0.menu = conMenu_cm;

//here is another simple example to
//hide all built-in menus but show only selective ones
conMenu_cm = new ContextMenu ();
//hide the BuiltInItems
conMenu_cm.hideBuiltInItems();
//show just the zoom
conMenu_cm.builtInItems.zoom = true;
_level0.menu = conMenu_cm;

flashmx2004/contextMenuSelective/contextMenuSelective.zip”>Download