User Guide
444 ActionScript classes
Method summary
Methods inherited from class Object
builtInItems (ContextMenu.builtInItems property)
public builtInItems : Object
An object that has the following Boolean properties: zoom, quality, play, loop, rewind,
forward_back, and print. Setting these variables to false removes the corresponding menu
items from the specified ContextMenu object. These properties are enumerable and are set to
true by default.
Availability: ActionScript 1.0; Flash Player 7
Example
In this example, the built-in Quality and Print menu items are disabled for the ContextMenu
object
my_cm, which is attached to the current Timeline of the SWF file.
var my_cm:ContextMenu = new ContextMenu ();
my_cm.builtInItems.quality=false;
my_cm.builtInItems.print=false;
this.menu = my_cm;
Modifiers Signature Description
copy() : ContextMenu Creates a copy of the specified ContextMenu object.
hideBuiltInItems() :
Void
Hides all built-in menu items (except Settings) in the
specified ContextMenu object.
addProperty (Object.addProperty method), hasOwnProperty
(Object.hasOwnProperty method), isPropertyEnumerable
(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf
method), registerClass (Object.registerClass method), toString
(Object.toString method), unwatch (Object.unwatch method), valueOf
(Object.valueOf method), watch (Object.watch method)
NOTE
You cannot disable the Settings or About menu items from the context menu.