EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Builtinitems (Contextmenu.builtinitems Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.

Table of Contents

Related product manuals