I want to create a custom right click on my code and i don't know how to take of Show Redraw Regions and Debugger, any help?
My main code:
ActionScript Code: public function Main() { stage.scaleMode = "showAll"; controlScreens("StartScreen"); stage.showDefaultContextMenu = false; //Custom Menu var rightMenu:ContextMenu = new ContextMenu(); rightMenu.hideBuiltInItems(); contextMenu = rightMenu; var copyright = new ContextMenuItem("Copyright Subterrain Project"); var fbPage = new ContextMenuItem("Our Facebook page"); fbPage.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, facebookLink); rightMenu.customItems.push(copyright); rightMenu.customItems.push(fbPage); } function facebookLink(e:ContextMenuEvent):void { var url:String = "LINK"; var request:URLRequest = new URLRequest(url); navigateToURL(request, '_blank'); }
How to remove Show Redraw Regions
Saturday, June 9, 2012
[Action Script] How to remove Show Redraw Regions June,2012
Posted by Bimo Hery Prabowo at 11:13 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment