Detecting Right Click

Hey everybody, is there anyway way possible to apply actions to a button something like this…

on(right click);
Gotoandstop(1)

so that when you rightclick the button, it will go somewhere? Ive been looking with no avail.