PDA

View Full Version : Removing the about flash menu


RaymondP
07-22-2007, 09:27 PM
Hi after reading flash hacks i found this component (http://www.artificialcolors.com/experiments/gwContextKillerInfo.html) . Ive been tinkering around with it but i havnt got my personal message to display successfully .

Ive allready set the window mode to opaque and uploaded it to my server but im getting undefined . I know its a pritty old component but id like to try to get it working isthis a problem with actionscript 2 or have i messed something up ?

Hopefully we can get this working because the about flash dialog looks very unprofesional

RaymondP
07-22-2007, 09:57 PM
Sorry to have posted this withouht properly testing but the good news is we have a pritty much 100% successful way to remove the about flash menu now , Im not sure what was the problem with the component i tried forever to get it to work but i have a quick and dirty solution .

Download the component from the webpage above in the first post , install it as usual and then import it into a project now right click on the no right click movieclip then edit it select the actionscript and look for this line

var __jsURL = "javascript:";
__jsURL += "var ns=(navigator.appName==\"Netscape\"); ";
__jsURL += "function gHRC() { ";
__jsURL += "if (event.button==2 || event.button==3) { ";
__jsURL += "gSAB();";
__jsURL += "}";
__jsURL += "} ";
__jsURL += "function gSAB() { ";
__jsURL += "alert(\"" + "Hi" + "\"); ";

__jsURL += "alert(\"" + "Hi" + "\"); "; paste that over the old one and replace hi with your message you can use /n s to get a new line , Here would be a pritty good place to discuss copyright .

finaly export and very importently set window mode to opaque windowless , Upload to your server and tah-dah the flash menu is dead

Just a thought dont do this until your project goes live , it causes annoying popups when used offline .

Enjoy i hope this helps everyone

McFreaq
03-22-2008, 11:03 PM
Any idea why it works so bad when running locally in the browser?

I really love the possibility to get rid of the context-menu, but I need it for an application running offline without connection to the net (could be a projector or running fullscreen in a browser as well).