Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-15-2010, 10:02 PM   #1
Sindarin
Registered User
 
Join Date: May 2010
Posts: 2
Red face [AS3] Hide projector Menubar in Flash Player 10

I recently migrated to Flash CS 5 and Actionscript 3.
I am creating a standalone Projector (.exe) presentation. There have been 2 issues.

First in Flash Player 10 the trapallkeys fscommand does not capture the Escape key anymore, so the Escape key closes Full Screen.

Secondly the menubar on top (File View Control Help) doesn't get removed even if I use fscommand showmenu to false or compress the context menu with actionscript.

What I've tried:

fscommand("showmenu","false"); doesn't work
stage.showMenu=false; doesn't work
stage.showDefaultContextMenu = false; only removes the context menu

I also tested the SWF in Flash Player 9 and works as intended.
In Flash Player 10, doesn't.

Could someone tell me if this is a bug or some silly 'security' feature they decided to add?

Last edited by Sindarin; 06-02-2010 at 08:44 PM.
Sindarin is offline   Reply With Quote
Old 05-16-2010, 09:40 AM   #2
henke37
Senior Member
 
henke37's Avatar
 
Join Date: Mar 2009
Location: Sweden
Posts: 10,888
Send a message via Skype™ to henke37
Default

I say that it is a bug if it let you prevent the user from hitting esc in the first place.
__________________
Signature: I wrote a pair of articles about the timeline.
henke37 is offline   Reply With Quote
Old 06-02-2010, 08:43 PM   #3
Sindarin
Registered User
 
Join Date: May 2010
Posts: 2
Default

The user could always hit Alt+F4 to close the application or Windows key to pull up the start menu even in full screen mode. Also Projector type SWFs is not so mainstream to be the source of such a 'security' problem.

I don't care so much about Esc in fullscreen as long as the menubar is gone in windowed mode. But that doesn't happen.

Last edited by Sindarin; 06-02-2010 at 08:50 PM.
Sindarin is offline   Reply With Quote
Old 01-25-2011, 09:52 AM   #4
najh
Registered User
 
Join Date: Jul 2010
Posts: 5
Default

Has anyone got any further with this? is there a way to remove the menu in Flash CS5 executables / projectors?

Last edited by najh; 01-25-2011 at 09:55 AM.
najh is offline   Reply With Quote
Old 02-14-2011, 02:11 PM   #5
northcode
Senior Member
 
northcode's Avatar
 
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 419
Default

Have you tried removing the menu reosurce from the EXE? You can use a tool like Resource Hacker to do this.
__________________
When your swf2exe tool just HAS to work
there's only one choice... SWF Studio
northcode is offline   Reply With Quote
Old 02-14-2011, 02:19 PM   #6
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Resource Hacker still works??? I know that tool is a general executable related app, but it still is awesome to hear that it works...
http://en.wikipedia.org/wiki/Resource_Hacker
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 02-14-2011, 07:22 PM   #7
northcode
Senior Member
 
northcode's Avatar
 
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 419
Default

Anyone can add resource types that Resource Hacker doesn't understand but the core functionality you need to edit basic resources like menus, dialogs, strings, version information, etc still works just fine.
__________________
When your swf2exe tool just HAS to work
there's only one choice... SWF Studio
northcode is offline   Reply With Quote
Old 02-14-2011, 07:27 PM   #8
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Cool... Awesome...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:49 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.