Dec
21
2008
Hiding default menu items PDF Print E-mail
hide.pngHariesDesign.com - The default commands in the flash context menu (the right-click menu or control), provide the user with controls over playback and zooming that could alter the flow of a Flash movie in a manner not desired by the original author.

Step 1

Create New Document with Dimension 200 px X 200 px,add text and convert to symbol ( F8 )

hide2.png

 

Step 2

From Properties panel insert instance name with "mymenu"

hide4.png

 

Step 3

Click on the frame Layer

hide3.png

and then insert some action script :

var mymenu:ContextMenu = new ContextMenu();
mymenu.hideBuiltInItems();
_root.menu = mymenu;

 

Step 4

Try to preview your project, Press Ctrl+Enter, right click on your mouse

hide5.png

 Done..!

 

Trackback(0)
Comments (1)Add Comment
Remove it for good
written by TheBrain, April 03, 2009
if you want to get rid of the context menu for good or use the right click button for your own needs instead of showing a menu, see the following solution:

http://blog.another-d-mention.ro/programming/right-click-and-custom-context-menu-in-flash-flex/
report abuse
vote down
vote up
Votes: +0

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security code
Write the displayed characters


busy
 
< Prev   Next >

Gallery Photography

Login

Sponsors


Get Chitika Premium