Jump to content
Search Community

How to disable the custom cursors

helio test
Moderator Tag

Recommended Posts

I change scale and rotation property only using my custom slider. 

I disable line around object and scale handles using properties 

manager.lineThickness = 0; 
manager.handleSize = 0;

I have two questions:

1) I move(drag) an image I want to use default flash hand cursor. How to do that? 

2) Is there a way how to disable rotation handles?


I know that exists two methods customizeMoveCursor and customizeRotationCursor, but how to pass hand cursor and disable rotation cursor using these methods I don't know.



Link to comment
Share on other sites

Sure, you can just use an empty shape for the custom cursor and tell it not to turn off the standard mouse cursor:

var blankShape:Shape = new Shape();
TransformManager.customizeMoveCursor(blankShape, false);
TransformManager.customizeRotationCursor(blankShape, false);
TransformManager.customizeScaleCursor(blankShape, false);
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...