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

Actionscript 2.0 language reference
Table of Contents

Advertisement

Method summary
Modifiers
Signature
copy() : ContextMenu
hideBuiltInItems() :
Void
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

builtInItems (ContextMenu.builtInItems property)

public builtInItems : Object
An object that has the following Boolean properties:
, and
forward_back
print
items from the specified ContextMenu object. These properties are enumerable and are set to
by default.
true
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
, which is attached to the current Timeline of the SWF file.
my_cm
var my_cm:ContextMenu = new ContextMenu ();
my_cm.builtInItems.quality=false;
my_cm.builtInItems.print=false;
this.menu = my_cm;
You cannot disable the Settings or About menu items from the context menu.
444
ActionScript classes
Description
Creates a copy of the specified ContextMenu object.
Hides all built-in menu items (except Settings) in the
specified ContextMenu object.
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
. Setting these variables to
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
,
zoom
quality
removes the corresponding menu
false
valueOf
,
,
,
play
loop
rewind
,

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF