Share Posted June 10, 2010 Hi, 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? EDIT// offcourse forceSelectionToFront is set to false Link to comment Share on other sites More sharing options...
Share Posted June 11, 2010 I'm not aware of any such bugs - can you send me an example? Also, beware that FlexTransformManager must put some objects into the container like the selection box/handles, etc. Link to comment Share on other sites More sharing options...
Author Share Posted June 15, 2010 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 More sharing options...
Share Posted June 15, 2010 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 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