ActionScript 2.0 :: [MX04] Disabling Right Click Menu
Jan 31, 2009
I've got an idea for a game I'm making that makes use of both mouse buttons, but the pesky right click menu always gets in the way. I've been doing some research, and I've heard tell of some "authorware" programs that disable the menu? I've also heard that disabling the right click menu voids some kind of warranty.
View 1 Replies
Similar Posts:
Feb 8, 2006
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.
View 9 Replies
Jan 17, 2004
ive 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 Replies
Jun 20, 2010
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]....
View 1 Replies
Aug 19, 2009
Whats the script to disable right click in AS3? or jus show a single link when the user rightclicks the swf?
View 2 Replies
Mar 28, 2009
I have a menu for a website I'm making that consists of buttons that play a drop-down menu movie clip when the mouse moves over them. The problem is, if the user moves the mouse off the button the movie clip stops playing and disappears. I would like it so that if the user moves the mouse away from the button, the drop-down movie clip will reverse itself from its current position and move back up into the button.I've been trying to use the on (rollout) condition, but it doesn't seem to do anything.
View 1 Replies
Jul 21, 2009
I've created a gallery to play some FLV videos and after getting the thumbnail buttons to go and play on specific frame labels, I now need to disable the button that was clicked and have it re enabled when I click on a different button. Here is my code so far:
stop();
btn01.addEventListener(MouseEvent.CLICK, navigate);
btn02.addEventListener(MouseEvent.CLICK, navigate);
btn03.addEventListener(MouseEvent.CLICK, navigate);
[Code]....
View 5 Replies
Nov 25, 2003
I've created a sliding menu that has a left button and a right button. Each button slides a background movieclip to the left or right. The background mc eases into position when one of the buttons is clicked. Problem is that buttons can still be clicked while the mc is easing into position. This throws off my x coordinate positioning of the mc. I've tried disabling the buttons and enabling them again at a few different points in my code. I've also tried using a time delay to enable the buttons but my logic isn't working. I've stripped the code that was not working out.
View 5 Replies
Feb 4, 2003
is there a way to disable some right click mouse options i.e like priventing user to rewind the movie or zoom in and out stuff like that.
View 3 Replies
Jul 5, 2010
I have a series of buttons that when clicked will enter a character into a dynamic textfield. Here is my code:
on (release) {
//if the focus is on the answer text box
if (_root.answerFocus) {
[code]...
This works but I dont know how to get round the following issues: Once a button is pressed the cursor moves out of the textbox once the character is placed inside, each character always goes to the end of my text line (as += implies but I can't find a workaround).
View 4 Replies
Nov 22, 2009
So I know Flashvars uses a lot different methods in AS3 because of the loader classes and all that. How do I disable the button and make it only display the second frame to the button corresponding to the page that the user is currently on?I've called a variable in the HTML document using query string (or I could use Flashvars just as easy if that makes it easier) called "currentPage" and on each page in the HTML give it a page name.I know how to grab the variable from the HTML into a text field in the SWF (see this tutorial) but I'm having trouble manipulating my menu buttons.
View 0 Replies
Jan 27, 2010
The 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 Replies
Jul 16, 2008
I am wondering how can one stop the user from clicking on a button (MC) without using btn.enabled = false.example: i have a menu that has buttons which have tweens on rollover and onRelease events. I want to be able to click on home for e.g. disabling all other buttons to avoid user clicking but still keep the rollover. I have tried btn.enabled = false and of course i dont want to disable the entire btn and instead i want to disable just the onRelease event or even avoid the mouse from clicking until the animation finish. Only Then, user can click on another menu button.
View 3 Replies
Dec 7, 2002
Anybody 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?
View 11 Replies
Oct 8, 2009
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?
View 3 Replies
Nov 13, 2002
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].....
View 1 Replies
Sep 28, 2011
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.
View 2 Replies
Oct 7, 2009
I have a Movie Clip configured as a Button and I wanted to know how to make the cursor transform into a pointer (little hand) when it's over tat movieclipBut well that was just not the point of the Post what really interests me is that when I click that MC a Pop up menu appears (another MC) but if i decide not to click any of the buttons in that menu the menu will stay there until I click another button or something and i will want it to disappear if a click it for a second time or something like that.
View 1 Replies
Aug 13, 2006
I know how to make a custom right-click menu with a series of options, but how would I make a menu with sub-options (like the quality option on the default right click menu).
View 2 Replies
Feb 13, 2009
I have a stop action on frame 1 of this movieclip. I want to go to frame # 2 when I click on menu1.
View 6 Replies
Nov 18, 2009
does anyone know how to make right clicking work in as3?i don't want a context menu to appear, i just want it to work as an EventListener for MovieClips.For example, imagine that RIGHT_CLICK is a MouseEvent, it would look like this:[code]i know the code wont end up looking like this, but does anyone know how to pull off this same idea using a right click?[code]
View 8 Replies
Nov 30, 2009
if this is the code:
i
Code:
mport flash.display.*;
import flash.external.ExternalInterface;
[code]...
then where do i tell it that i want to have the MouseEvent EventListener on my movieclip labeled "mastButton" ?(obviously i know its not really a MouseEvent but do u know what i mean? like how to i link this right click event TO a particular movieclip?)
View 5 Replies
Sep 13, 2011
I need selectable text that can be copied. Some users are used to copy with Ctrl+C (Cmd+C on Mac), and some are used to right click and select "Copy".
Using s:RichEditableText, there is no "Copy" in right click menu: http://d.pr/xWXW. Using mx:Text, there is "Copy" in right click menu, but it doesn't copy anything: http://d.pr/vtiw
Ctrl+C works for both s:RichEditableText and mx:Text.
Is there a property or something to enable "Copy" in right click menu for s:RichEditableText?
View 1 Replies
May 25, 2009
i made swf using flash 9 player if i right click swf it will shows menu like zoom in , zoom out, etc option . but i saw this site url [URL] animation swf like elephant.swf, bird.swf... not show anything .only shows reddraw option How can i do like this ?
View 6 Replies
Jan 19, 2009
my 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 Replies
Dec 27, 2011
Is there any way you could edit the right-click menu?
I mean not just context but can you disable it/customize it, etc...
View 6 Replies
Mar 11, 2004
how 2 bring menu just like in [URL] on right clicking any object..
View 2 Replies
Aug 15, 2005
I'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 Replies
May 16, 2003
how can i disable ppl from right click my website. Because i dont want them to zoom in.
View 3 Replies
Oct 15, 2008
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
View 5 Replies