View Full Version : context menu
Multi-Task
January 9th, 2008, 02:46 PM
I have read and know most about the context menu, however can you hide the settings option?
Right now I am using:
var mMenu:ContextMenu = new ContextMenu();
mMenu.hideBuiltInItems();
_root.menu = mMenu;
Is there a work around for hiding the settings that any one knows of?
kellohitty
January 9th, 2008, 08:07 PM
//------------------------------------------------------//
Stage.scaleMode = "noScale";
fscommand("allowscale", false);
fscommand("fullscreen", false);
//RIGHT CLICK MENU
function doSomething() {
getURL("", _blank);
}
MYMENU = new ContextMenu();
MYMENU.hideBuiltInItems();
Functioned = new ContextMenuItem("XXXXXXXXX", doSomething);
MYMENU.customItems.push(Functioned);
_root.menu = MYMENU;
//------------------------------------------------------//
Multi-Task
January 10th, 2008, 12:33 PM
Yeah we are pretty much doing same thing. You are just adding a function to it. Does anyone know of a work around to disable "settings" from context menu? I am using Flash CS3 and publishing for flash player 9.0. It seems all the old work arounds do not work with newest settings. How can I at least make "settings" un selectable on context menu?
FizixMan
April 16th, 2008, 11:43 AM
I don't think you can. It's a security feature of Flash to stop malicious coders.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.