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 |