# Depth Controlling Problem with mx.behaviors.DepthControl class

**URL:** <https://forum.kirupa.com/t/depth-controlling-problem-with-mx-behaviors-depthcontrol-class/191664>\
**Category:** flash\
**Created:** [June 22, 2006, 4:10am UTC](https://forum.kirupa.com/t/depth-controlling-problem-with-mx-behaviors-depthcontrol-class/191664 "2006-06-22T04:10:59Z")\
**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:10am UTC](https://forum.kirupa.com/t/depth-controlling-problem-with-mx-behaviors-depthcontrol-class/191664/1 "2006-06-22T04:10:59Z")

</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.  
I have attached files herewith for consideration.
