function doSomething1(){
fscommand("quit", "true");
}
function doSomething2(){
fscommand("fullscreen",true);
;}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned1 = new ContextMenuItem("Exit", doSomething1);
Functioned2 = new ContextMenuItem("Fullscreen", doSomething2);
MENU.customItems.push(Functioned1);
MENU.customItems.push(Functioned2);
_root.menu = MENU;