Jump to content
GreenSock

danno

TransformManager[AS3] - Keep Item selected

Moderator Tag

Recommended Posts

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

  • 3 weeks later...

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

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