Jump to content
GreenSock

jivory

Adding listener to handles

Moderator Tag

Recommended Posts

Hello all,

Has anyone had any luck with this? I would like to set a listener on the handles themselves.

Similar to the TransformEvent.SELECT, only this fires when I select the items, not the handles. I found a way to do it, adding a listener directly to the handle when it's created in the TransformManager.as. This allows the listener to work when I click the handles, or even mouse down when the rotation cursor is active, and it just what I want! But don't want to mess with the class itself.

Any help on targeting the handles so I can add a listener?

Thanks

Link to comment
Share on other sites

TransformManager doesn't expose each of those handles via the API. Sorry. You are welcome to edit the class to get the behavior you need.

Link to comment
Share on other sites

No worries, I'll get into the class and add the listeners there.

Thanks

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.
×