prev | index | next

MX2004-ContextMenu
7
30
296 bytes
603 bytes
2003-09-16 00:00:00
2003-09-21 14:35:30
Oldes (oliva.david@seznam.cz)


How to hide all builtInItems in the Context menu

This example hides all the built-in objects in the Context menu (the one which appears when you click with right mouse button on the movie). (However, the Settings
and About items still appear, because they cannot be disabled.)

(mx2004-contextmenu.rswf)

doAction [
    newMenu: make ContextMenu []
    newMenu.hideBuiltInItems()
    _root.menu: newMenu
]

ShowFrame
end