This content has been marked as final. Show 4 replies
You can't completely take the context menu away, but you can take most of the actions away using Stage.showMenu = false, or you can take specific ones away as well al add your own using the ContextMenu class.
So - another scenario...
Let's say I wanted to build a classic RTS game (like Warcraft) in flash. The typical user interface there is left click to select a unit, right click where you want the unit to go.
Is there any way to simply disable Context Menus so I could attempt this?
> Is there any way to simply disable Context Menus so I could attempt this?
However, if you create a Projector file(.exe, .hqx) you can use third party projector software, such as Zinc or SWF Studio to completely remove it -- but then it cannot play in a web browsers, obviously, it must be downloaded as a program and run locally, which people are vastly more hesitant to do, as the program could easily be a virus or such.
I made an RTS engine once, I opted for Ctrl+Click instead of right-click for secondary actions.