Share Posted November 2, 2009 i'm wondering if there's a way to click on a TransformItem and then be able to click on a specific other item on the stage, without losing focus on the TransformItem selected. thanks! Link to comment Share on other sites More sharing options...
Author Share Posted November 2, 2009 bump ? Link to comment Share on other sites More sharing options...
Share Posted November 3, 2009 hi, i guess you should use the addIgnoredObject() method to add clickable objects that should not change the selection of TranformManager. you'll find it's description in the documentation http://www.greensock.com/as/docs/transf ... redObject() Link to comment Share on other sites More sharing options...
Share Posted November 18, 2009 Again, my apologies for the delayed response - I didn't get auto-notified about this post. You can certainly turn autoDeselect off (set it to false) and then manage the deselection logic on your own. One common technique is to put a large invisible box behind your objects, add a MouseEvent.CLICK listener to it, and then in the handler, run your logic and if you need to deselect, just call myManager.deselectAll(). Should be pretty straightforward (I know, easy for me to say, right?) 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