Hey...

I have a movieclip (a ruler or measuring stick) that is supposed to slide backwards and forwards along the x axis...which it does thanks to a Rectangle constraining it in the startDrag call...

Code:
public var coordinates:Rectangle;
coordinates=new Rectangle(-800, 295, 800, .1);
meterstick.startDrag(false, coordinates);
Problem is, I need to rotate the stick, but have it still move backwards and forwards along it's x axis...or diagonally. this isn't happening and the rotated stick moves horizontally - not diagonally.

I tried putting the coordinates Rectangle into the measuring stick clip so that it's rotated with the stick but got the same result.

Thanks for any help.
adindin