Right mouse click

Trying to find a tutorial on fucntions for the mouse right button. I would like something like this running.

onClipEvent (rightMouseDown) {
endX = _root._xmouse;
endY = _root._ymouse;
}

Obviously this doesnt work but is it possible to get something similar working?

no. A published Flash movie does not support right clicking.

thanks for quick reply and the bad news. :smirk:

-woj-

onClipEvent (enterFrame) {
	if (Key.isDown(2)) {
		xend = _root._xmouse;
		yend = _root._ymouse;
	}
}

:wink:

of course, the stupid menu will show up on everytime right click… :-\

:slight_smile: thanks…

no problem. =)