Share Posted February 8, 2013 hi, i would like to add this custom DELETE handle to the Transform tool: alt screenshot: http://cl.ly/image/1t0m2w0S071g please let me know exactly where and how i can do this. thanks so much. -arturino Link to comment Share on other sites More sharing options...
Share Posted February 10, 2013 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() 1 Link to comment Share on other sites More sharing options...
Author Share Posted February 10, 2013 fanstastic. that worked thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now