Jump to content
Search Community

Depth-Bug when selecting TransformItems

Boris test
Moderator Tag

Recommended Posts


i have two Items in my Flex-TransformManager, one in the front and one behind the first. When now select the one in the back and i run in loop through the FlexTramsformManager the elements switched the depth without calling the moveSelectionDepthUp()- Method. When i select the item in front, it switches again.


Is that a bug or a feature?



offcourse forceSelectionToFront is set to false

Link to comment
Share on other sites

ok - i found a solution. When your run the following Flex-App, you will see that the for each loop doesn't swap the depth but the normal loop displays the correct depth of every child from the transformer

<?xml version="1.0" encoding="utf-8"?>

Link to comment
Share on other sites

Could you describe what surprised you about this? Since TransformManager needs to add some invisible items to the display list (like for the selection box, cursors, etc.), it is normal for there to be a few depths occupied, but visually things should work great in terms of swapping depths. I'm very sleep-deprived, so I may be missing an obvious point you're trying to explain :)

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