Disabling 'settings' - Context Menu
I noticed in almost all of kirupa.com's menus and headers/footers the 'settings' value in the context menu(right-click menu) cannot be selected. how did he do this?
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 08-31-2005, 04:39 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Context Menu Settings
is there any way to remove the "settings" and "about flash..." from the custom context menu?
Disabling Right Click Context Menu.
Hi,
Can anyone tell me if there is any way by which I can disable the
right-click menu in Flash (SWF not EXE) , completely (I don't even want the
About Macromedia.. link). I know that its possible to add ContextMenu items
but I don't want to show the Settings.. or the About Macromedia.. items too.
Any help would be greatly appreciated.
Thanks in Advance
How To Remove Settings Form The Context Menu
Hi Everybody,
I am working on a map application in which i want to remove or disable the settings option from the right click context menu.
Can anybody have the capability to solve this problem ??
see the image please
Disabling Settings Dialog Box
I am creating a flash app that needs to access flash local objects. Unfortunately it prompts the user to allow or deny the access to the local objects. This wouldn't be a problem if the user was at a computer but to only interaction is throuigh a remote control in which it makes it immpossible for them to select accept or deny. Does anyone have ANY idea on how I can set flash to automatically be set to allow this, therefore removing the popup dialog that comes with it?
Is There Anyway To Disable The Flash Player Dropdown Menu (not The Context Menu)
Greetings,
I am aware of how to reset the right-click context menu to just "settings", but when the file is opened in Flash Player directly from a computer instead of on the web, the drop-down menu in the player is still available. You can even press ctrl+enter to play. My searches just come up with solutions to the right-click menu, and I have a client who wants me to get rid of this menu for a game I've already made.
If you don't think there's even a way to do this, could you just tell me that so I can inform my client?
Thank you either way
[Using MX 2004 if it matters]
Context Menu -standard Menu Add Copy?
Hi,
Im working on a flash project and was wondering if its possible to change the standard context menu to include the "copy" function of the edit context menu. Basically, I would like my static text to be able to be copied with the right click menu choice "copy" that would come up for editable text. Is this possible?
Thanks,
Yvette
Context Menu
Hi...
This is the first time i've done one of these forum things, so I hope i've got it right.
So do I just jump in and say my problems??
oh well, I would love to know how to disable all the 'zoom' and 'rewind' etc.. functions, so my context menu 'upon right click' so that it displays just 'settings' and 'about macromedia flash player 6...' as seen in every flash file around this and pretty much every other professional site.
Thanks very much in advance, and I hope I didn't do any stupid noob mistake.
Thanks again, Alka
Context Menu
When you publish a movie on a webpage for instance, the user has the ability to right click on the movie and select from a variety of commands on a context menu such as play, loop, zoom etc.
Sometimes I encounter movies that don't have these selections when you right click on them. As most would know, giving a user these abilities can alter how a Flash created webpage can interact.
What I want to know is whether there is a way to disable or minimize the use of this context menu.
Anyone with any ideas?
Thanks,
Robert
Context Menu
Hello,
I am fully aware that the context menu cant be got rid of fully, (although I believe there is a hack about, but for the life of me I cant find it).
I am in the middle of doing a demonstration in flash for an application, and part of the application I am demonstrating requires the user to click the right-mouse button for a menu to appear. at this stage I have the menu appearing as it should, but ofcourse the context menu also appears. And for this to disappear I have to click the left mouse button (or press a key).
does anyone know of a way of tricking flash in thinking that the left mouse button has been pressed, so that the context menu will appear for only an instance and then disappear when the "fake" mouse click occurs, or any other way I can get rid of the context menu...
cheer,s
btw, hello - I am new here (but not new to flash).
Context Menu
OK, so i thought...i can make a menu when the user right clicks...A Context menu. I created a snazzy orange menu. I made the AS so that when a user right clicks, the movie appears when they click, and when the choose an option, the menu disappears. There are two things on my list:
1) How can you completely disable the context menu. I don't care how, be it software, actionscript, javascript, html or anything.
2) How can i make it so that there is function like "onClickOutside" (i know that isn't a function) where something happens when a user clicks outside the menu (it disappears as well)
Cheers experts,
Flash Cus
Context Menu
Hi. I am trying to add a context menu to my site with links to the various galleries. I have the below code which works when I use links to outside sites but not to my own. Can someone please help? Thanks!
Attach Code
function clickMenu(){}
function clickMenu2(){
getURL("asfunction:_level0.gallery_mc.mainNav_mc.mainNav_0.onRelease", _self);
}
function clickMenu3(){
getURL("asfunction:_level0.gallery_mc.mainNav_mc.mainNav_1.onRelease", _self);
}
function clickMenu4(){
getURL("asfunction:_level0.gallery_mc.mainNav_mc.mainNav_2.onRelease", _self);
}
function clickMenu5(){
getURL("asfunction:_level0.gallery_mc.mainNav_mc.mainNav_3.onRelease", _self);
}
function clickMenu6(){
getURL("asfunction:_level0.gallery_mc.mainNav_mc.mainNav_4.onRelease", _self);
}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("© 2009", clickMenu);
Functioned2 = new ContextMenuItem("Portraits", clickMenu2);
Functioned2.separatorBefore = true;
Functioned3 = new ContextMenuItem("Landscapes", clickMenu3);
Functioned4 = new ContextMenuItem("New Orleans", clickMenu4);
Functioned5 = new ContextMenuItem("Video Shoots", clickMenu5);
Functioned6 = new ContextMenuItem("Web Design", clickMenu6);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
MENU.customItems.push(Functioned4);
MENU.customItems.push(Functioned5);
MENU.customItems.push(Functioned6);
_root.menu = MENU;
Context Menu Help
hi all,
I 've tried context menu tutorial given in kirupa.
It works well.
But I publish that as html, it wont work.
Please help me, why context menu 'll not work in html.
Thanks in advance.
Context Menu
hi everyone, i have been struggleing to find out why my custom context menu wont work when i have a preloader in there. Both the preloader, and context menus work, but when i have them in the same movie, the context menu doesnt work.
Also, how would i go about getting a horizantal line in the context menu. Well here is the .Fla, thanks for all the help.
http://codygrube.sytes.net/preloader.fla
Thanks to any help
Context Menu
After i made changes to the context menu everything seem fine, until i tried right-clicking when multiple swf's were on the scene in different levels, in some areas the menu worked and in some it showed the normal menu: zoom-in, show all etc.
Is there a way to set the context menu for all levels once, instead of setting it in all levels ?
Thanks.
Help With Context Menu Please
Context Menu issues with bookmark script
I have a context menu I am working on. I am trying to add a me nu Item that when pressed it will bookmark the site in IE or Firefox.
This is what I have, but it is not working in either IE of FireFox
var myContxtMenu = new ContextMenu(); // myContxt will serve as our Context Menu object name
myContxtMenu.hideBuiltInItems();
_root.menu = myContxtMenu;
var item1:ContextMenuItem = new ContextMenuItem ("Bookmark", markIt, true);
myContxt.customItems[0] = item1;
function markIt () {
getURL ("javascript:>window.external.AddFavorite('http : //www.freedomland.com/','FL');");
}
Context Menu Help
hi all
i m developing a project in flash. here i m facing a problem, need help of you experts. there is a label-movieclip (instance name= lbl1), there is a context menu for this label, in which there is option for bold font, italict, normal and "copy label". there is another context menu for _root, in which there is an option for "paste label", that is inactive at start.
when the user right clicks on the label and choose "bold" or "italic" the font('render text as html' is checked) becomes bold or italic as i give a value for
_root.lbl1.font_varName = "<b> label </b>"; ...
when user right cliks on label and selects "copy label", the context menu item "paste label" for _root, becomes active. and by selecting this paste label option a duplicate label movieclip is generated at mouse's _x, _y. and label's menu(bold, ..., copy label) is also assigned to this new duplicated movieclip.
now the problem arise. when i click "bold" in the duplicated movieclip, the parent mc's font becomes bold.. because there i hv defined _root.lbl1....
"this" is not working there. is there any way to find the instance name of the movieclip on which i hv clicked recently????? can anyone help me.
pleeeez help.
Context Menu
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?
Context Menu
hi everyone, i have been struggleing to find out why my custom context menu wont work when i have a preloader in there. Both the preloader, and context menus work, but when i have them in the same movie, the context menu doesnt work.
Also, how would i go about getting a horizantal line in the context menu. Well here is the .Fla, thanks for all the help.
http://codygrube.sytes.net/preloader.fla
[AS3] Context Menu
Last edited by Isocase : 2008-06-19 at 11:59.
I was at work and decided to build a little gift for everyone. Its a context-menu class that allows you to apply a context menu to any object that you chose.
I have included all the class files so feel free to use as you wish or provide feedback on how this class can be improved.
Attached Files
Disable Context Menu
What I was wondering is does anyone no how to edit flash 6's swf files to disable flash player's context menu on Linux?
When I launch the player I can still see the top menu for 5 seconds befora it goes into fullscreen mode. I can not have that because it my cause a problem. I CAN NOT use any software which creates projectors because its Linux.
I need to know a way to disable, delete, or hide the top menu on the flash player. I hope somebody can help me...
Thanks
Massis
Disable Context Menu
What I was wondering is does anyone no how to edit flash 6's swf files to disable flash player's context menu on Linux?
When I launch the player I can still see the top menu for 5 seconds befora it goes into fullscreen mode. I can not have that because it my cause a problem. I CAN NOT use any software which creates projectors because its Linux.
I need to know a way to disable, delete, or hide the top menu on the flash player. I hope somebody can help me...
Thanks
Massis
Context Menu On Picture
Hi,
I have a picture gallery in Flash MX 2004 using a small XML file. I want to bypass the standard context menu that comes with Flash and get the standard context menu that comes with IE (save picture as...).
Do I need to create a menu from scratch in Flash MX or there is a way to get the menu I want ??
Thanks for your help guys!
Jean Bédard
Play Context Menu Help
I know this is probably a bit of a stupid question, but how do I stop people right-clicking on my movie and then clicking the 'Play' option. I know it can be done but I'm not sure how.
Any help would be appreciated,
jellyrools
Context Menu Editing
I'm doing a tutorial for elderly folks on using the mouse, and I'm trying to teach them to use the right mouse button to operate a context menu. I've edited the menu, and told it to get a new URL when you click "continue lesson" item in the context menu. But I can't get the new page to open in the same window . . . it keeps opening in a new one, which is distracting to say the least, and that's if the pop-up blocker doesn't stop it.
Here's what I've got, and the menu works, the link works, but it opens in a new window:
stop();
function doSomething(){
getURL("next.html", _self);}
MENU.customItems.push(Functioned);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Continue Lesson", doSomething);
MENU.customItems.push(Functioned);
_root.menu = MENU;
Is it possible to get the context menu item to get a URL in the same browser window?
Right Click Context Menu
From this fla http://www.flashkit.com/movies/Scrip...1385/index.php
I found that you can change the menu. If you run just the swf file the flash 8 menu option is gone. Once its in a browser its back. There has got to be a work around to remove the flash 8 menu.
[F8] Easy ? Context Menu
how can i seperate my menu items.. like the hr type deal.. should be an easy ?
example is http://www.georgiew.de/ his copyright is in a seperate menu group.
Context Menu Restrictions
Can you still only create context menu's for the main movieclip and 1 child deep like it is in AS2?
i.e. Main MC > MC > Button/MC with context menu.
If I can do that in AS3 that would be great.
[CS3] Right-Click Context Menu
Flashers, I noticed that when I publish my fla., the right-click context menu gives any person viewing the site the option to download the .swf (although the menu calls it a video) to their hard drive. That's krazy...
In any event, I need to disable the option in the right-click menu. I read the tech report at Adobe ( http://kb.adobe.com/selfservice/view...nalId=kb402906 ) and I need some assistance on passing some Vars to the html page as Adobe suggested...
thanx 4 any sort of assistance...keep flashing...
Context Menu Does Not WORK
OK this is seriously WEIRD and i NEED it to work
if i paste my code into a new movie it works...
but not in my other one..
OK my setup for other one is as follow on frame 5 (get's run continiously) i have a movie that contains a movie and in that i have a movie called blue_cover that i want to add the context menu to.
the code is as follows
ActionScript Code:
var ct_menu:ContextMenu = new ContextMenu();
ct_menu.hideBuiltInItems();
ct_menu.customItems.push(new ContextMenuItem("Font...", itemHandler));
ct_menu.customItems.push(new ContextMenuItem("Paragraph...", itemHandler));
ct_menu.customItems.push(new ContextMenuItem("Bullets and Numbering...", itemHandler));
ct_menu.customItems.push(new ContextMenuItem("Hyperlink...", itemHandler, true));
ct_menu.customItems.push(new ContextMenuItem("Look Up...", itemHandler));
ct_menu.customItems.push(new ContextMenuItem("Translate", itemHandler));
ct_menu.customItems.push(new ContextMenuItem("Select Text with Similar Formatting", itemHandler, true));
function itemHandler(obj, item) {
//trace(_parent._parent + " - "+ item.caption);
switch (item.caption) {
case "Paragraph..." :
_parent._parent.Local_Handler("click context menu");
break;
default :
break;
}
}
blue_cover.menu = ct_menu;
So what is wrong ??!?? the code works but ...then WHY doesn't it ?
Context Menu Question
Is it possible to put a checkmark (tick) next to an item in a context menu when it is selected. Flashes standard context menu has them, so I would have thought it is possible.
I have tried
menuItem.selected = "true"
But this does not work.
Cheers
Help With Dynamic Context Menu
In the script below, the output is always 10 for var i within the function this["contextItem"+i]. This was sort of unexpected. How can I get the value for var i into the function as the for loop is running?
Sorry, I am making this script to work for SwishMax, so it may not exactly be actionscript format, but close enough.
Code:
rootMenu = new ContextMenu();
rootMenu.hideBuiltInItems();
for (i=0; i<10; i++) {
item_title = "Item "+i;
this["contextItem"+i] = function () {
test.text = i;
};
this["newItem"+i] = new ContextMenuItem(item_title, this["contextItem"+i]);
rootMenu.customItems.push(this["newItem"+i]);
}
_root.menu = rootMenu;
Any help is greatly appreciated!
Hide Context Menu
how do I hide the context menu?
I don't want to add any menu items
ActionScript Code:
package {
import flash.ui.ContextMenu;
import flash.ui.ContextMenuBuiltInItems;
import flash.ui.ContextMenuItem;
import flash.display.MovieClip;
public class example extends MovieClip {
public var myMenu:ContextMenu;
public function example() {
myMenu = new ContextMenu;
myMenu.hideBuiltInItems();
}
}
}
can anyone tell me why this isn't working?
How Do You Remove The Context Menu?
How do you remove the context menu when people play back your movie that contains:
- Rewind
- Play
- Zoom
- etc..
I've tried using the fscommand in the first frame as so:
fscommand("showmenu", "false");
fscommand("allowscale", "false");
fscommand("fullscreen", "false");
The context menu still appears.
Any ideas?
Thanks.
Getting Rid Of The Context Menu (or Just Disabeling It)
Hello All,
I played with the contextMenu class, which was great. Easy to use.
Too bad I have to make my project Flash 6 compatible, not 7. Soooooo
What can I do to either create my own contextMenu Class, or just disable the functionality on the context menu so noone can use zoom, and that stuff.
If there is noway to create custom items then i just want to disable the menu. Thanks
MCM
What's Makes The Context Menu Different?
----My question is Flash MX related. NOT Flash MX 2004. I know there are a plethora of context menu options for MX 2004, but I have MX.----
I've seen the Flash context menu (right click menu) with 3 different lists of items and am curious to know what dictates which list items are shown in the context menu.
For example, if you disable the menu with fscommand, stage.showmenu = false, or within the HTML document (menu=false), it only shows:
Settings
About Macromedia X.
If you don't, it shows everything: Zoom, play, rewind, forward, etc.
However, there is also one where it shows all the context menu items except the control items such as play, rewind, forward. For instance, go here and right click on the swf. That is the menu I would like b/c I'm making a game and do not want users to have the control options, but I DO want them to have the options to decrease quality (for slower processors).
Any relevant input is appreciated.
BTW, I spent over an hour looking for the answer to this question in these forums and in google, and I couldn't find a suitable answer. Hopefully someone here can help me out.
Flash Context Menu
Hello there,
I've managed to remove most of the objects in the context menu which is revealed when the user rights clicks in the SWF file. The piece of script I've used it: Stage.showMenu = false. However this also disables the "Settings" tab in the context menu when really I want this to be able to work.
Thanks in advance,
Kristopher (UK).
Customize Context Menu
Dearrsss,
can i customize my contextmenu ( colors ) and how to put a seperator between 2 links ( link hello ------------ hola )
thanx a lot
Three Context Menu Questions
Is there possibility not to show context menu on right click? Some action to be placed in onSelect handler?
I want to popup MC on right click and to hide context menu in same time…
Is there possibility to show submenu in context menu?
For example, right click on desktop and then chose: NEW --> FOLDER
Can context menu options be check marked ?
Thanks in advance,
Bojan
Context Menu With XML Data
Hello,
I'm trying to create a context menu where you right click over a flash object and it will display links to external websites. The catch is I need to have the links stored in a XML doc for easy access. For some reason flash will only read the bottom url regardless of how many items are in the xml doc.
Any ideas?
contextmenu.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<menu>
<item name1="Go to Google.com"/>
<item link1="
How To Hide The Context Menu?
I want to make a web button and don't want the context menu to appear,
I have tried Stage.showMenu = false, but the context menu still pops up.
What should I do?
Context Menu Problem
Hi, I'm creating an application where I'm dynamically creating MC's with AS2. Once created, I'm attaching a new ContextMenu I've created.
When I create MC's containing vector based shapes and drawings, all works well. I right click them and my personalized menu shows up. But when I create an MC and load an external JPG or PNG file inside it, the Context Menu doesn't show up and I only get the standard Flash menu.
Here's what I'm doing:
1) I create an empty MC
2) I draw a shape inside it using AS2
3) I attach the Context Menu
4) I run the movie and right click the MC and it all works fine
1) I create an empty MC
2) I use LoadClip to load an external bitmap inside the MC
3) Within the LoadClip's onLoadInit event, I attach the ContextMenu
4) I run the movie and right click the MC, but the standard Flash menu shows up
What am I doing wrong? Or is it a Flash bug?
Context Menu Issue
Hey there. Thanks for reading this.
I'm trying to disable the context menu options for the entire movie and everything in it. I thought it would be easy with a short:
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
_root.menu = newMenu;
on the first frame of the movie.
It simply doesn't work. It works great on a new movie. One with nothing in it, but something inside my movie is conflicting it seems.
Source:
http://www.tracypeterson.com/work/pa...flipsource.zip
any ideas why?
-Tracy
|