View Single Post
  #16 (permalink)  
Old 12-28-2007, 10:42 PM
Balasubramanian.S Balasubramanian.S is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 182
Balasubramanian.S is on a distinguished road
Default Re: Flash Tips & Tricks

This is a simple way to create a right Click menu


onClipEvent(load)
{
//MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("This movie is copyrighted by Your Company Name", doSomething);
Functioned2 = new ContextMenuItem("Visite Our Website", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
function doSomething()
{
}
function doSomething2()
{
getURL("http://www.Discussweb.com", _blank);
}
}
__________________
S.Balasubramanian
Nothing is impossible
Reply With Quote