Jump to content
Search Community

:: Adding a Custom DELETE Handle Button

arturino test
Moderator Tag

Recommended Posts

You could use the addSelectionBoxElement() method to attach your custom button. See http://greensock.com/as/docs/transform/com/greensock/transform/TransformManager.html#addSelectionBoxElement() for details. And then add your own MouseEvent.CLICK listener (or whatever) and in your handler, you can call the deleteSelection() method or delete individual TransformItems with deleteObject(): http://greensock.com/as/docs/transform/com/greensock/transform/TransformItem.html#deleteObject()

  • Like 1
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...