Posts Tagged ‘hideBuiltInItems’

Replace the Flex’s Default Right Click Menu

Adobe-Flex-CS3-48x48 Sometimes we need replace the Flex’s Default Right Click Menu,the code likes below that can hide the default menu but can not replace it(with function “hideBuiltInItems”).

var contextMenu : ContextMenu = new ContextMenu();
contextMenu.hideBuiltInItems();

The code below tells you how to implement this.

(more…)