Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Hide Context Menu In Flash MX


Hi,
I am developing the web application in Flash Mx. I need hide the context menu in my application.

Note: I have no Flash MX 2004 & my client browser have in flash player 6 only

Please help me
regards,
John W.Berry




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 07-08-2005, 08:28 AM


View Complete Forum Thread with Replies

Sponsored Links:

Hide Or Customize Flash Hyperlink Context Menù Support
hello everybody , i'm try to resolve this problem from many days

how can hide or customize flash Hyperlink Context menù support

View Replies !    View Related
How To Hide Context Menu
how to hide context menu that appeares when right clicking

View Replies !    View Related
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?

View Replies !    View Related
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?

View Replies !    View Related
Hide Context Menu Items
Hi, new member here.

Is it possible to hide the "copy" and "paste" context menu items for a TextField when a user right clicks on a TextField? I know you can use the ContextMenu object to hide built-in items for the flash player, but I haven't been able to figure out how to hide the built-in items for the TextField menu.

Thanks.

View Replies !    View Related
Hide Context Menu Items
Is it possible to hide the "copy" and "paste" context menu items for a TextField when a user right clicks on a TextField? I know you can use the ContextMenu object to hide built-in items for the flash player, but I haven't been able to figure out how to hide the built-in items for the TextField menu.

Thanks.

View Replies !    View Related
How To Hide The Context Menu Completely?
Hi All,

Can you please tell me how to hide the context menu (built in as well as custom) completely?

See the link..
http://news.com.com/

Nothing happens when you right click the ad at bottom-left.

Any help is appreciated.

View Replies !    View Related
[CS3] Hide Context Menu With AC Run Active Content
Hello.
Does anyone know how to hide the context (right click) menu when using AC_RunActiveContent.js to embed an swf in HTML?

What params do I write in the source code to hide the menu the same way you would within the embed tags, as in

param name="menu" value="false" ?


Thanks.

View Replies !    View Related
Is It Possible To Hide The Context Menue?
Hi,
i'm wondering if it's possible to hide or supress the whole right-click context menue of a published flash-file, mainly in a browser, not necessarily in the stand-alone-player.

I know it's possible to have only the entry "about flash..." specified in HTML like

<OBJECT>
<PARAM NAME=menu VALUE=false>
<EMBED src="xxx.swf" menu=false
</EMBED>
</OBJECT>

But i'd like to get rid of the whole menue. Any suggestions?

Thanks!

View Replies !    View Related
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]

View Replies !    View Related
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).

View Replies !    View Related
Context Menu Of Flash In Director
Hi
Is there any way to show context menu of flash after embedding in director?

What I need to do is:
Copy the text from a dynamic textfield of flash by using its context menu and paste in clipboard.

I somehow tried out doing customising rightclick menu of flash and copy the text but it doesnot work in MAC.
So I'm back to squareone.
I need to allow user to use context menu of flash in director.


Please guide............

View Replies !    View Related
No Context Menu In Flash Application
I'm using a Flash application (?) [Flash Companion] and the context menus don't work in the text fields. I can right click forever and nothing happens. The output is in Flash 7. My OS is XP SP2. I've tried Flash Player 7 and 9. Other people using the same software don't have this problem. This means I can't copy and paste between text fields and my frustration level is over the top. Any suggestions would be appreciated.

View Replies !    View Related
Changing Flash Context MENU
Hi there, is there anyway to change flash MX (right-click) context menu and personalize it ?

Thanks m8s

View Replies !    View Related
Changing Flash Context MENU
Hi there, is there anyway to change flash MX (right-click) context menu and personalize it ?

Thanks m8s

View Replies !    View Related
How To Disable Flash Player Context Menu?
does anyone know how to disable the options in the menu. all except "about flash ...."

if anybody knows please tell me at aghas@abv.bg

Thank you

View Replies !    View Related
Replacing Context(right Click) Menu In Flash
I'm curoius if anyone knows how to replace, cover up, or disable the right click menu in Flash. To write a true Web App you need to be able to do this. Any ideas? I can't find any docs on Flash knowing which menu button was pressed. Any help or ideas would be greatly appriciated.

View Replies !    View Related
Context Menu Works In Flash But Not In Html
This is my code im using

Code:
var my_cm:ContextMenu = new ContextMenu();
function menuHandler() {
gotoAndPlay("cheat");
level = 1;
}
my_cm.onSelect = menuHandler;
this.menu = my_cm;

so when someone right clicks it goes to the cheat frame. Then i preiview in flash (ctrl-enter) it works. but when i export it to swf and view in html, it doesnt work. im using flash 8. can anyone tell me why

View Replies !    View Related
Problem With Custom Context Menu (Flash CS3/AS3)
I am attempting to implement a custom context menu in a Flash CS3 and ActionScript 3 project.

PROBLEM: The context menu displays and functions properly when testing the movie in Flash CS3 but does not display at all when viewing through my website (IE7 or Firefox).

Has anybody seen this before?

Here is a sample of some of the code I'm using. The context menu is created inside of the class where I have a few display objects.



public class MyClass
{
protected var m_ContextMenu:ContextMenu;

function MyClass()
{
//--- Build Context Menu
m_ContextMenu = new ContextMenu();

var item:ContextMenuItem = new ContextMenuItem("TestItem");

m_ContextMenu.customItems.push(item);

item.addEventListener(ContextMenuEvent.MENU_ITEM_S ELECT, menuItemSelectHandler);

m_ContextMenu.addEventListener(ContextMenuEvent.ME NU_SELECT, menuSelectHandler);
}

protected function menuSelectHandler(event:ContextMenuEvent):void
{
trace("menuSelectHandler: " + event);
}

protected function menuItemSelectHandler(event:ContextMenuEvent):void
{
trace("menuItemSelectHandler: " + event);
}
}

View Replies !    View Related
IE+Vista+Flash Context Menu Lockout
Hi there experts,

I'm tinkering with the mic activity AS3 stuff (although this is a general
flash question). This issue happens whether the .fla is trying reading the
mic or not though. On IE+XP I can right click to get context menu up, then
select allow mic access fine.

On IE+Vista the menu comes up, but all the tabs and buttons are partially or
totally unresponsive! It's like the browser is blocking mouse clicks or
something. I can't set mic to allow access, even though the mic can be seen
to be read on the activity level meter on the context menu.

Has anyone else had this problem? I can't seem to google for the exact issue
so far.

Many thanks

Richard Smith

View Replies !    View Related
Limiting Flash Right-click Context Menu
I noticed this on http://www.2wodesigns.biz/ (see attachment)

How do I do this? Is this part of the HTML or do I do this from within Flash?

View Replies !    View Related
Simple Flash Context Menu Customisation..?
I've been scouring the web for a simple, designer (read idiot-that's me!) friendly way of customising the context (right-click) menu which appears when viewing flash online or in the standalone player. Could anyone recommend one and where to find one in a flash source file format? I don't want anything fancy, i just want to remove the standard text, add in one or two lines and links, and that's it.

thanks!

View Replies !    View Related
Bringing Up Context Menu Stops Flash Drawing?
I'm sure this is a very good idea, but when building video players it's a pain, about two seconds after bring up the context menu in flash player 9, nothing is drawn onto the stage and videos stop playing.

I was just wondering whether anyone knew if it was possible to get around this, I've added a context menu for playback control but it's ultimately useless because the movie stops playing. I know it keeps on playing once you close the menu, it's just annoying.

I'm writing in AS2 so it's not an AS3 problem but a CS3, more specifically a player 9 issue.

Any help on this would be greatly appreciated. thanks.

View Replies !    View Related
Flash Custom Context Menu Not Displaying In Website
I am attempting to implement a custom context menu in Flash CS3 (ActionScript 3). I am using Bewise's FlashControl to display the swf in my ASP.NET 2.0 website.


The example I provide below works fine for the following:

- Running from within Flash CS3 (Test Movie)
- Publish Preview from Flash CS3 (both using Player 9 and straight HTML... IE7 and Firefox)

It simply will not display the custom context menu item when running in my ASP.NET website (both from within VS2005 debug environment or fully published website).


Has anybody seen this before?

Sample Code
In my .fla file I do do the following:



var cm:ContextMenu = new ContextMenu();
var item:ContextMenuItem = new ContextMenuItem('Test Item');
cm.customItems.push(item);
MyMovieClip.contextMenu = cm;

View Replies !    View Related
Setting What Items Show Up In The Right-Click Flash Context Menu?
Hi,

I don't want players to be able to rewind and forward my flash game, so right now I'm using:


Code:
stage.showDefaultContextMenu=false
But this only shows the Settings and About options. Is there a way for me to choose what goes in there? Because I'd like to expose the quality (low, med, high, best) settings as well in the context menu.

Thanks!!

View Replies !    View Related
Code To Hide Flash Menu
Hi,
Can anybody tell me what is the code that allows to hide Flash Menu when user right click on any SWF ??

I am using Flash 5.


Please Advice,
Thanks.

View Replies !    View Related
Code To Hide Flash Menu
Hi,
Can anybody tell me what is the code that allows to hide Flash Menu when user right click on any SWF ??

I am using Flash 5.


Please Advice,
Thanks.

View Replies !    View Related
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

View Replies !    View Related
Flash Menu Fails To Hide Submenu
Hello All -

I have Flash 5. I have built a file with 8 NAV buttons. Each NAV button will have the abaility to show a submenu, and each submenu will have 3-7 buttons used to launch a URL.

(** right now all of the submens are the same - I'll change these when I get the code right)

I can get the main NAVs to show the submenu ok, and I have found a way to make each submenu show up highlight too. BUT ----

The submenus fail to hide when you mouse off them. What am I missing?

In my submenu I have frame one called 'hide' and frame two called - show; this is where the buttons/submenu is.

I can email the FLA if needed.

Thanks

RB

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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).

View Replies !    View Related
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

View Replies !    View Related
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;

View Replies !    View Related
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.

View Replies !    View Related
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

View Replies !    View Related
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.

View Replies !    View Related
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');");
}

View Replies !    View Related
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.

View Replies !    View Related
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?

View Replies !    View Related
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

View Replies !    View Related
[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

View Replies !    View Related
Flash Context Menu - Disable "Settings..."
Hi guys and gals,

Just wondering how to disable "Settings..." on the Flash Context Menu. Anyone got any ideas?

Many Thanks

Design Geezer

View Replies !    View Related
How Do I Turn The Context Menu Off
not a projector, but on the web...in MX

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
Right Click Context Menu
How do you deactivate the right click context menu in flash?

View Replies !    View Related
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

View Replies !    View Related
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

View Replies !    View Related
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?

View Replies !    View Related
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.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved