Hi,
I am using context menu using the code given below in a flex air application. For me all Context Menu Clipboard Items are working fine except "clear".
Plese suggest me where I am wrong.
var cMenu:ContextMenu = createContextMenu();
private function createContextMenu():ContextMenu
{
var editContextMenu:ContextMenu = new ContextMenu();
editContextMenu.hideBuiltInItems();
editContextMenu.clipboardMenu = true;
editContextMenu.clipboardItems.cut = true;
editContextMenu.clipboardItems.copy = true;
editContextMenu.clipboardItems.paste = true;
//NOT WORKING
editContextMenu.clipboardItems.clear = true;
return editContextMenu
}
Thanks in advance.