Skip to main content
February 26, 2013
Question

Removing Flash logo, RightClick Menu, and Resize Menu from a Flash Movie

  • February 26, 2013
  • 1 reply
  • 3408 views

Hello,

I am a new user of Adobe Flash Professional CS6 and Flash Player 11.2, I need to code the followings in the Action Panel:

  1. Removing RightClick Menu from the Stage.
  2. Removing the Flash Player Logo.
  3. Removing the Resize Menu e.g: Maximize, Manimize, etc.

Please I need to apply these actions. If you can provide me with the code and if I will use package, class, etc

Thanks..

This topic has been closed for replies.

1 reply

Inspiring
February 26, 2013

1.

stage.addEventListener(MouseEvent.RIGHT_CLICK, doNothing);

       function doNothing(e:MouseEvent):void {

            //do nothing...

            trace(e.type);

        }

2. ResourceHacker can open up a windows-projector (exe) and allows you to replace the embedded icons

3. the above mentioned program gives you also access to the menus and allows you to hide them

February 26, 2013

Thank you for your reply.

Do you mean that I need to use the ResourceHacker Software with the Flash Playrer EXE which is located on my machine?

If I will do, will the modifications  be applied on the Clients' PCs ?

If not I will need your help in writing a code in the Action Script section to ensure running the .swf without the flash player logo and the resize menu.

Best regards..

Nabren
Inspiring
February 26, 2013

I have never heard of hiding the context menu entirely short of JavaScript hacks but you can set this variable on the stage:

stage.showDefaultContextMenu = false;

and it will remove a lot of options and give the bare minimum to the user.