Recipe 21.10. Hiding the Context MenusProblemYou want to hide the context menu. SolutionUse the Stage.showMenu property. DiscussionBy default, Flash movies display a context menu when the user right-clicks/Control-clicks. The default context menu contains options to zoom, change the quality, open the Flash Player settings, print, and display the About Macromedia Flash Player Web page. (The test player has slightly different context menu items.) You cannot completely hide the context menu. However, you can hide most of the items except the Settings and About Macromedia Flash Player. You can accomplish that with one line of ActionScript code: Stage.showMenu = false; If you want to completely hide the context menus, you'll have to export the Flash content as a projector using one of the third-party projector exporting applications that enables that sort of functionality.
|
Tripod >> 3pod Tips & Learning and manuals for educations