MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 450

Actionscript 2.0 language reference
Table of Contents

Advertisement

Custom menu items appear at the top of the context menu, above any built-in items. A
separator bar always divides custom menu items from built-in items. You can add no more
than 15 custom items to a context menu. Each item must contain at least one visible
character; control characters, newlines, and other white space characters are ignored. No item
can be more than 100 characters long. Items that are identical to any built-in menu item, or
to another custom item, are ignored, whether the matching item is visible or not. Menu items
are compared without regard to case, punctuation, or white space.
None of the following words can appear in a custom item: Macromedia, Flash Player, or
Settings.
Availability: ActionScript 1.0; Flash Player 7
Property summary
Modifiers
Property
caption:String
enabled:Boolean
separatorBefore:Bool
ean
visible:Boolean
Properties inherited from class Object
constructor (Object.constructor
property),
prototype (Object.prototype
(Object.__resolve property)
Event summary
Event
Description
Invoked when the specified menu item is selected from the Flash Player
onSelect
=
context menu.
function(obj:Obj
ect,
menuItem:Object)
{}
450
ActionScript classes
Description
A string that specifies the menu item caption (text)
displayed in the context menu.
A Boolean value that indicates whether the specified
menu item is enabled or disabled.
A Boolean value that indicates whether a separator
bar should appear above the specified menu item.
A Boolean value that indicates whether the specified
menu item is visible when the Flash Player context
menu is displayed.
property),
__proto__ (Object.__proto__
property),
__resolve

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