-
Sorry guys,
The code follows
//--------code starts--------
_root.onEnterFrame= function(){
if(typeof _level2130706430 != undefined){
unloadMovie(_level2130706430);
delete _root.onEnterFrame;
}
}
System.ShowSettings();
//---------code ends----------
I have posted the code in another thread here and had the feeling of posting in this thread.....)
How STUPID I AM
gnana
-
see this fundooo
hi guys,
Also comment the System.showSettings in the code and check what happens in the right click menu....enjoy the fundoooo.
The code is working fine for me with latest plugin as well
gnana
-
subscribing
being able to disable the right click movie would be a real kool thing ...
mostly for websites that i want to add extra functionality towards...
just a note tho'....
it's illeagal to manipulate the macromedia software...
and they're talking about the active x control...
but WHO does YOUR SWF belong to!?!
CERTAINLY NOT MACROMEDIA.... so feel free to kill that right click function
-
Senior Member
Originally posted by gSOLO_01
i can delete the context of the right click menu for an exe using a free resource editor. it takes a couple of seconds. just tried it, it works... when i get home i'll look into deleting the menu alltogether.
How do you hide the menu's in an .exe? Where can I find a free resource editor?
-
Originally posted by JFlashK
How do you hide the menu's in an .exe? Where can I find a free resource editor?
http://www.users.on.net/johnson/resourcehacker/
Resource Hacker... (hacker makes it sound so evil )
Menu> 604> 1033(english) do the same for all the other languages...
change this:
Code:
604 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
POPUP "x"
{
MENUITEM "Zoom In", 20042
MENUITEM "Zoom Out", 20030
MENUITEM "100%", 20046
MENUITEM "Show All", 20034
MENUITEM SEPARATOR
POPUP "Quality"
{
MENUITEM "Low", 20035
MENUITEM "Medium", 20036
MENUITEM "High", 20037
}
MENUITEM SEPARATOR
MENUITEM "Play", 20039
MENUITEM "Loop", 20043
MENUITEM SEPARATOR
MENUITEM "Rewind", 20025
MENUITEM "Forward", 20040
MENUITEM "Back", 20041
MENUITEM "Movie not loaded...", 20045
MENUITEM SEPARATOR
MENUITEM "Settings...", 20058
MENUITEM SEPARATOR
MENUITEM "Print...", 20054
MENUITEM SEPARATOR
MENUITEM "About Macromedia Flash Player 6...", 20044
}
}
to this:
Code:
604 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
}
it still dosn't help our swf problem...
-
Senior Member
thanks gSOLO_01 for an .exe it works fine!
thanks, now the .swf problem, that seems a bit more difficult
-
even if we did manage to disable it... how would we use the right click to do new kool stuff?
i havent seen a function for it before as an input key :s
-
vow whats this
hi guys,
what's this code about
604 MENU
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
}
Were do we put them and do they hide the right click menu.....i am totally innocent.......
World is far away
gnana
-
thats for projector files.... exe's..... be warned tho' .... they're using 'resource hacker' took strip out the menu
i think the shell for the projector belongs to 'them'
and nobody answers.... how do we actually get the right mouse button to work for us, if there isnt support for it
-
to get right click working for us you can use this code:
Code:
_root.onEnterFrame = function()
{
if (Key.isDown(2))
{
rightDown = true
}
else if (rightDown == true)
{
trace("Right down")
rightDown = false
}
}
It's a bit of a crude method but it works.
Problem is that the menu is still shown so it's not much use to us yet.
-
aaaahhhh so key(2) is the right click then
i never knew that
-
Yep, key 2 is right click, although it's not a normal key. As far as I know there's no listeners that will pick it up, you'd think that the mouseDown would trigger, but it doesn't
-
Come on people, lets not give up on this one, I'm sure there's enough talent on this board to sort it out
-
well guys, im convinced http://www.microbians.com know the answer... however i am suspicious of a 'right-click' disable javascript is working behind the scenes...
and im also not too sure if their website is flash, because of the fact that i cant right click to check.
-
Originally posted by offdahook
well guys, im convinced http://www.microbians.com know the answer... however i am suspicious of a 'right-click' disable javascript is working behind the scenes...
and im also not too sure if their website is flash, because of the fact that i cant right click to check.
No flash there... the code works but not over swfs.
Code:
function NSclick(e) {
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) {
if (e.which == 3) {
return false;
}
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) {
if (e.button == 2 || e.button == 3) {
e.preventDefault();
return false;
}
}
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) {
document.onmousedown=NSclick;
document.captureEvents(Event.MOUSEDOWN);
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) {
document.onmouseup=NSclick;
}
if (navigator.appName=="Microsoft Internet Explorer") {
document.oncontextmenu = new Function("return false;")
}
-
-
Hi all,
I wonder what Mrs Mike Chambers have to say about the hide settings issue, after all if anyone knows how to disable this crap, its him. And why do I have to show an 'About Macromedia Flash6' on ALL MY movies when I paid for the software, and its about 4 times the minium wage in my country.
Anyway... does anyone found a solution ?
trolljanz
-
Update...
Okay, so I noticed that this thread has been a little quiet lately. I guess I can stir things up a little bit - I really want to crack this thing.
At first, I assumed that the Flash 6 plugin automatically attached the "settings" movie at run time. This would mean that it would be impossible to remove it.
I noticed, however, that a few SWFs would display "settings" in the right-click menu in the disabled state (including the SWF at the very top of MM's home page). Aha! I realized that the "settings" menu option is not omnipresent - therefore it must somehow depend of the content of the SWF file.
I then went out and culled some sites that I frrequently visit to find more examples of SWFs where the "settings" option is disabled. I have a small collection of 8 files where this is the case.
I haved used two different SWF file decompilers on these 8 files, and I was unable to locate any common code that would relate to the "settings" right-click menu item.
Frustrated, but not deterred, I then used UltraEdit to view the actual SWFs themselves. So far, I have noticed only that all these files are Flash versions 4 or 5. However, many other Flash 4 and 5 movies in my own collection and on the 'Net have the "settings" menu enabled. And switching the version byte in the hex-editor from 6 to 5 does nothing. I am still hard at work on this, and I will post any other information I come up with here.
On a related note, the following code will actually activate the settings menu from within your movie - on demand! This is a really nice undocumented feature:
Code:
//syntax: System.showSettings(x);
//where "x" is one of the following
//0 - Displays the Privacy Tab
//1 - Displays the Local Storage Tab
//2 - Displays the Microphone Tab
//3 - Displays the Camera tab
//Usage:
System.showSettings(1);
If somebody knows of a solution or has more detailed info on this topic - please let us know.
Last edited by samch; 10-03-2002 at 10:51 PM.
-
text field
I've noticed that if u right click on a text field, it opens another context menu. Maybe the answer its here. Imagine that when callin the context menu, actually we could call a reference for a context menu that wouldn exist, therefore it wont show.
Tiago
-
any news on this ?
im in need for it myself atm, im using several flash movies in layers combined with a iframe aswell, and everything works perfectly except for the flash movie in the bottom layer, if someone right click on it (everything is disabled except the setting option) and picks settings that layer will **** up and look realy crappy.
Sure it still works, and a refresh makes the site look ok again, but in a corporate environment thats not good enough, actualy the only thing i would like to do is take out the setting option, i dont care if they can click the about macromedia option since that opens a external window.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|