Schlagwort: CS4

Ein eigenes Kontextmenü in Flash hat was. Einfach diesen Code in ein Frame kopieren: var myMenu:ContextMenu = new ContextMenu(); myMenu.hideBuiltInItems();   var myNotice=new ContextMenuItem("MasterLevel 2010"); var myEmail=new ContextMenuItem("[email protected]"); var myCopyright=new ContextMenuItem("Copyright – 2010"); myCopyright.enabled=false; myCopyright.separatorBefore=true; function openLink(e:ContextMenuEvent):void { navigateToURL(new URLRequest("http://www.masterlevel.de")); } myNotice.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, openLink); myMenu.customItems.push(myNotice, myEmail, myCopyright); contextMenu=myMenu;var myMenu:ContextMenu = new ContextMenu(); myMenu.hideBuiltInItems(); var myNotice=new ContextMenuItem("MasterLevel …

Read more »

Posted on: 29. Januar 2010
Categories: AS3 Flash