Right Click Drag/Drop


square_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
square_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);

function pickUp(event:MouseEvent):void {
event.target.startDrag(true);
}
function dropIt(event:MouseEvent):void {
event.target.stopDrag();
}
square_mc.buttonMode = true;

I am using this code to do a basic Drag/Drop on a movieclip. Is there anyway that I can change the MouseEvent’s so that it would work with RIGHT CLICK? Basically I need it so that when the user holds down RIGHT CLICK it drags and when it’s released, it drops.

I’ve looked through some documentation and apparently AIR has these properties, but flash does not?

Thanks.