Jump to content
GreenSock

haspadar

bring to front option

Recommended Posts

Hi

How I can set "bring to front" option only for a selected image by click on my custom button?

 

Thanks

Link to comment
Share on other sites

You could just addChild(mc); and then selectItem(mc);

Link to comment
Share on other sites

Thanks :) But I meant the situation, when forceSelectionToFront = false. I founded the solution:

 

manager.forceSelectionToFront = true;

manager.selectItem(selectedElement);

manager.forceSelectionToFront = false;

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