Return to Snippet

Revision: 4696
at January 16, 2008 09:30 by SmpleJohn


Updated Code
function doSomething(){}
function doSomething2(){
  getURL("http://www.metamorphozis.com", _blank);
}

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;

Revision: 4695
at January 16, 2008 09:29 by SmpleJohn


Updated Code
function doSomething(){}
function doSomething2(){
    getURL("http://www.metamorphozis.com", _blank);
}

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;

Revision: 4694
at January 16, 2008 09:27 by SmpleJohn


Initial Code
function doSomething(){}
function doSomething2(){
getURL("http://www.metamorphozis.com", _blank);}

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;

Initial URL
http://www.flashadvisor.com/tutorial/ActionScript/Customized_Right_Click_Menu_in_Flash-20.html

Initial Description
This is something I search for every time I need it.  It is taken from: Oleg Lazarenko.

Initial Title
Custom Right Click Menu - Flash AS 2.0

Initial Tags

                                

Initial Language
ActionScript