# Depth Controlling Problem with mx.behaviors.DepthControl class

**URL:** <https://forum.kirupa.com/t/depth-controlling-problem-with-mx-behaviors-depthcontrol-class/191666>\
**Category:** Uncategorized\
**Created:** [June 22, 2006, 4:14am UTC](https://forum.kirupa.com/t/depth-controlling-problem-with-mx-behaviors-depthcontrol-class/191666 "2006-06-22T04:14:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nishanthe](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nishanthe/32/769_2.png) [@nishanthe](https://forum.kirupa.com/u/nishanthe)\
**Post date:** [June 22, 2006, 4:14am UTC](https://forum.kirupa.com/t/depth-controlling-problem-with-mx-behaviors-depthcontrol-class/191666/1 "2006-06-22T04:14:24Z")

</div>

Greetings for everybody.  
I am using mx.behaviors.DepthControl class for my latest project for controlling z-order of the dynamically created movieclips. If anybody came across above class or familiar with that class, I appreciate your help because, I am having a problem with sendBackward and sendtoBack methods. When I try to use these methods, flash stucks.

source file attached another area, link :[http://www.kirupa.com/forum/attachment.php?attachmentid=37028&d=1150949333](http://www.kirupa.com/forum/attachment.php?attachmentid=37028&d=1150949333)
