all groups > flash actionscript > january 2007 >
You're in the

flash actionscript

group:

Right mouse click



Right mouse click rc3rdmd
1/24/2007 9:07:32 PM
flash actionscript: Instead of using onRelease, is there a function for the right mouse button, I can't seem to find one.

Thanks.

Re: Right mouse click Darr_darshan
1/25/2007 8:59:49 AM
hi

try this for right click

function doSomething(){}
function doSomething2(){getURL("", _blank);}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Right Click Modified", doSomething);
Functioned2 = new ContextMenuItem("Place for adding more Links", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;


you can call any function
bye
Re: Right mouse click rc3rdmd
1/25/2007 12:38:18 PM
This seems like a lot for just a right mouse click.

Is there a more straighforward function in AS 3.0 ?

Re: Right mouse click rc3rdmd
2/2/2007 1:07:10 PM
AddThis Social Bookmark Button