ActionScript :: Disable Right Click Menu?
May 16, 2003how can i disable ppl from right click my website. Because i dont want them to zoom in.
View 3 Replieshow can i disable ppl from right click my website. Because i dont want them to zoom in.
View 3 Repliesmy problem is that, when i right-click on my flash movie that is online, then click on play, my question is, is there a way to disable this effect? or even take out the whole play button?URL...
View 2 RepliesI'm trying to disable the right-click menu for an application I created for the PocketPC(PPC). A projector file was not recognized by the PPC, so I cant use the functions within it. Would someone please educate me on disabling it. By the way - the right-click menu pops up on the PPC when a user touches the screen for an extended amount of time (~1 sec), rather than just a quick tap.
View 10 RepliesSo I wanna to disable the Right Click menu except the Zoom In, Zoom Out, and Show All.
View 4 Repliesive followed Senoculars drop-down menu tute [URL], awsome stuff, but it seems the submenu's dont disappear to well when you roll out. ..They only disappear if you click on another menu item or when you click outside the menu.
View 12 Replieshow to disable the right click menu in the "incubator(FlashPlayer 11)"?
As i know, in the old version, we can use set wmod is "opaque" then the right click menu could be disable by a javascript.
But, in the "Incubator" we must set the wmod is "direct" could use the hardware render. So, how to disable the right click menu in the "Incubator"?
Basically, I have a button and on click it displays a menu. I want to click that menu a second time and the menu closes. Currently, every time you click the button, the menu reopens. I pasted the Flex livedoc example below. If you click the button, the menu keeps reopening.Now, I rigged it up by setting a var to open and closed, so when clicking the button it does a check. However, if you click away from the screen, the HIDE event gets dispatched, and the menu closes. This messed up the open close var being set.
How could I make this Flex example below show the menu on button click, and then on a second button click, it closes the menu? Take into affect that if you click away from the menu, it closes it.Also, I played around with the MOUSE_DOWN_OUTSIDE event for the button and set the preventDefault, and the FlexMouseEvent event.cancelable is set to false.Changing to a PopUpMenuButton is not an option. I have to much skinning involved.Here is the Flex example:
<mx:Script>
<![CDATA[
// Import the Menu control.
import mx.controls.Menu;
[code]....
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.
View 2 RepliesThe menu is like this http:[url]... (the site is in portuguese but it doesnt matter), when I click in on menu the actual menu does an alpha to 0 and the next menu appears using the alpha from 0 to 100 (and some animations like the cellphone going up).Now, how can I do a menu like that, whatever the menu I choose, it does that alpha animation ?
View 1 RepliesAnybody know how to create a custom context menu (right click menu) in Flash?
If it's not possible, wouldn't it be a good idea for Macromedia to put some kind of event or something in there?
i wanted to place some credits item in the right button menu (no links, so no events, just a label with credits). i was looking the contextmenu help, and there is an example of how to add items, disable default items and so on, but i could not find how to attach the menu to the movie (the basic part). i tried both on 'stage' and it tells me that stage does not have a property called contextMenu, so i tried to attach it to a sprite, it runs ok and compiles ok but when i right click on the sprite i get the default menu
var _menu_item:ContextMenuItem = new ContextMenuItem("here goes [code].....
how to add a right click menu with a custom item?
I have an array for my menu and submenus.It works fine, but I have to click again on the menu to close it.When it's open it's completly open it takes too much space.how I could make a menu close when I click on another menu item..this is the code on the frame on my main timeline:
MenuArray=new array();
MenuArray[1]=menu1;
MenuArray[2]=menu2;[code].....
I've got a drop down menu. I want to click a tab to make it drop then, if it's open, click it again to close. I've tried a million variations on the script below:
var btn_grp1:String
function main1Down(event:MouseEvent):void {
if (btn_grp1 != "dwn") {
[Code]....
This works too (once). So the drop down buttons all disapear again, but it won't re-set. The drop down menu stays up from then on.
BTW i'm not set on this method, it just seemed the most obvious i.e. if menu hidden, then show it, set some variable to down (showing), else hide the menu, set var to up (hidden). Not working though.
How do I disable right click functionality for SWF? When I right click on this movie that I have it gives me option to click on a link.How do I take the link out or diable the right click function?
View 2 RepliesI would like to disable left clicks certain keyframes, i have a movieclip that the user is dragging and when a click is made it has a short animation, but i dont want users to be able to click other things while this animation is running. so i need to disable the left click. the animation is on inside the movie clip.
View 5 Repliesi would like to know how to disable mouse right-click on flash.maybe there are posts here on kirupa on how to do it but i don't really have a fast internet connection to browse around.
View 1 Repliesis it possible to diable right click menu using just actionscript in a .swf ? I know if i use <param name=menu value=false> in the html it will disable the right click menu but.... i am just using the swf and wanted to knwo if it is possible to disable right click menu without using html.
View 12 Replieshow to disable the flash right click menu in the below code
<span style="width: 400px; height: 280px; position: relative; display: block; overflow: hidden; z-index: 2;" id="mObjCont0" class="MagicMagnifyPlusContainer"><span style="display: block; top: 0px; left: 0px; position: absolute; width: 400px; height: 280px; z-index: 200;">
[code].......
I'm building an app with an image upload function. While the uploading process is on I need to disable the context menu (right-click) or at least the items in it
View 2 RepliesHow do i disable the context menu completely? The reason to why i need to do this is that i want to create a rectangle wherever the user clicks, with various text information. Can this be done?
View 7 Repliesthe attached menu has functions for onRollover, and onRollout, however I was wondering if it was possible to create a function for onRelease that would mean that once the menu item was selected, the onRollout would not set the menu back to original color and would leave it highlighted so users could see that this was the page were on via the menu.It is saved in CS3 as I work with CS4 and it does not seem to let me save it back for 8 or earlier versions.
View 1 Repliesi have made a sniper style game an hav programme a moment where there is pause between each click (reload time) but how do i make it so that when the gun is reloading the left click is disabled, as it stands now while the gun is reloading the aim doesnt move but if u click on an enemy they still die as it stil sees it as clicking on it, how do i disable it for these 2 seconds while my gun reloads
View 1 RepliesI wand add some code to a button until avoid double click.is there something in as2 like this [code]...
View 6 RepliesI have included the following code to disable the "right click-play" by the players to jump the scenes.
Code:
MENU = new ContextMenu();
MENU.hideBuiltInItems();
However, this code is not functioning.
The company i am working for are designing an interactive flash movie that requires the Right click Menu to be entirely disable, or else the right click option to be disabled. The best that we can achieve at present is to limit the context menu to "About..." and "Settings".
Is there anyway of disabling the right click function in flash so we can secure our movie?
Our problem arises from the User being able to click on the "About..." menu item and launching a browser. We require that the user is not allowed to access this. We have tried to change the Default Browser in Windows to a custom browser, but to no joy.
Is there anyway for us to disable the Flash Menu, or, Disable the Right click function completely or, re-route the About Menu item to a default browser so we can prohibit the user from access the default webpage?
How can i disable the menu of flash player when I'm navigating a flash file with WebBrowser ?
View 2 RepliesCan we disable the right click function in Flash? How?
View 1 RepliesHow I can give the right mouse button the same functionality as the left one? So that it doesn't matter which button is pressed. If this is not possible, can I disable the right button of the mouse?
View 1 RepliesHow I can make it so when the right click is pressed the zoom in/out 100% quality and all that does not show.
View 12 RepliesI am making 2 complex buttons here is swf [URL]
so question is: i want to disable button1 after 1 click. after that when click button2 return and enable button1. and conversely
note: i will use this for 5 buttons in my new design...