does anyone know how to make right clicking work in as3?

i don't want a context menu to appear, i just want it to work as an EventListener for MovieClips.

For example, imagine that RIGHT_CLICK is a MouseEvent, it would look like this:
Code:
myButton.addEventListener(MouseEvent.RIGHT_CLICK, rightClicked);
function rightClicked(e:MouseEvent):void{
      my function in here);
}
any ideas? i know the code wont end up looking like this, but does anyone know how to pull off this same idea using a right click?

i also saw somtehing like this:
Code:
myButton.addEventListener(MouseEvent.buttonDown, rightClicked);
function rightClicked(e:MouseEvent):void{
     if(return=false){
         (my function in here);
}
but its not currently working properly