[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.
|