Flash Player 7.
menuItem_cmi
.callback = function (obj
,menuItem
) { // callback handler code here }
menuItem_cmi
An instance of an ContexMenuItem object.
obj
A reference to the movie clip (or Timeline), button, or selectable text field instance over which the context menu was invoked.
menuItem
A reference to the selected ContextMenuItem object.
Nothing.
Event handler; invoked when the specified menu item is selected from the Flash Player context menu. The specified callback handler is passed two parameters. The first, obj
, is a reference to the movie clip, button, or editable text field under the mouse when the Flash Player context menu was invoked. The second parameter, menuItem
, is a reference to the ContextMenuItem object that represents the selected menu item.