The Musings of A Newman

"So far i've blogged about 500 topics created 113 posts and generated 25 comments, this month i've been musing about Cars, Eating Out, Advertisting, Generation Y, Beer." Grab my feeds!

Disabling the context menu in as3..

Quick little code post here.. took me a while to work out how to do this, it's always the smallest things as they say.

 stage.showDefaultContextMenu=false;

You can of course customize the menu, i'm yet to experiment with that but here's a useful tute about the method, straight from drawlogic.com

Article Link

http://drawlogic.com/2007/06/12/howto-using-the-contextmenu-in-as3-with-fullscreen-mode-as-a-sample/

blog comments powered by Disqus