Skip to main content
June 7, 2010
Question

fscommand showmenu bug?

  • June 7, 2010
  • 4 replies
  • 1772 views

I'm using Flash CS5 and I created a fla file with an external as3, where it says:

    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.system.fscommand;
    import flash.display.Stage;
   
    public class map extends MovieClip {
       
        public function map() {
            addEventListener(Event.ADDED_TO_STAGE, init);
        }

        private function init(event:Event):void {
            removeEventListener(Event.ADDED_TO_STAGE, init);
            trace("Starting...");
            fscommand("showmenu", "false");
        }
       
    }

I'm able to compile the file and see "Starting..." message but the player window still has its menu with " File | View | Control | Debug " options.

This fscommand doesn't work in player 9 and player 10.

Is it a known bug?

Some people suggested using "stage.showMenu = false;" but in fact, stage object doesn't have "showMenu" property and it produces an error.

This topic has been closed for replies.

4 replies

June 7, 2010

Still have my question unanswered and need help.

Does anyone know if this is a bug?

If not, is there another solution which will work?

Participant
December 17, 2013

Hi, i'm having problems too with Fscommand showmenu :

I'm publishing my swf as a standalone exe for pc and app for mac... And from my various test,
fscommand("showmenu", "false"); perfectly works in the mac app, but doesn't work at all in the windows executable...

Same code, same publishing, different results...

Same goes for another bug in my app that perfectly works in the mac app and doesn't work at all in the windows one which is as simple as "if variable1=value { do this }"...
It works as it should with the mac app, when i test it or preview it in Flash... and not at all in my windows app...I think there is a bug in flash player PC

June 7, 2010

I am NOT publishing HTML so I don't even have that tab in Publish Settings.

Even if I had it, "Display Menu" tickbox affects HTML code only, not the stand-alone Flash Player settings.

June 7, 2010

Alrighty then..

All that's left is a lightweight window..But I believe it's specific to Air..

Good luck

June 7, 2010

I'm not going to publish this file, it's going to be a stand-alone application.

I want to remove this menu, for whatever reason I have, and where is a special function which is supposed to remove it.

This function doesn't work.

My question is: is it a bug? If not, then how to do it?

June 7, 2010

Aaaahhh..okey dokey..I got it

Well I haven't tried that yet, but try this: Don't know if it works though..

Go to your publish settings --- HTML

Template dropdown box --- flash only  <---I'm not sure about this one..

uncheck display menu

Fiddle with it...I know I will

Best regards

Peter

June 7, 2010

Hi..

Why are you trying to remove these menu items??

When you embed your swf in the html file there not there anymore.Removing

the contextmenu is a different story..

So removing the top menu would accomplish...what?

Best regards

Peter