# Components & Depth Problems

**URL:** https://forum.kirupa.com/t/components-depth-problems/183337
**Category:** flash
**Created:** [March 25, 2006, 11:45pm UTC](https://forum.kirupa.com/t/components-depth-problems/183337 "2006-03-25T23:45:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jcanistrum](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jcanistrum/32/2188_2.png) [@jcanistrum](https://forum.kirupa.com/u/jcanistrum)
#### Post date: [March 25, 2006, 11:45pm UTC](https://forum.kirupa.com/t/components-depth-problems/183337/1 "2006-03-25T23:45:52Z")

</div>

I´m searching ( desperately Ⓜ) for some tutorial about DepthManager and Components in ActionScript and F8.

I´m getting crazy, after spending hours testing, and reading over and over the DepthManager Class reference, trying to create some ComboBoxes and Labels which insist to having their dropdown components appearing behind the container where they were created.

[http://www.phdimobiliaria.com.br/fla…PanelEntry.swf](http://www.phdimobiliaria.com.br/flash/resultsPanelEntry.swf)

---

<div class="post-metadata">

### Author: ![jcanistrum](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jcanistrum/32/2188_2.png) [@jcanistrum](https://forum.kirupa.com/u/jcanistrum)
#### Post date: [March 26, 2006, 11:34am UTC](https://forum.kirupa.com/t/components-depth-problems/183337/2 "2006-03-26T11:34:37Z")

</div>

I´m back :toad:

I have all the components in some frame before I use them

What I do is

1. read an XML file to populate the combos

2. then inside my class that builds an FORM inside some MC, I have this function to create the combos

Using getNextHighestDepth() I get this weird behaviour as you can see at

[http://www.phdimobiliaria.com.br/flash/resultsPanelEntry.swf](http://www.phdimobiliaria.com.br/flash/resultsPanelEntry.swf)

I made an small test with DepthManager trying to swap all getNextHighestDepth() by similar ones in DepthManager but I got confused with kCursor, kTooltip, kTop and so, and even with DepthManager the overlapping behaviour reamains the same.

What I´m looking for is some minor example how to work with it

> [@jcanistrum](#):
>
> I´m searching ( desperately Ⓜ) for some tutorial about DepthManager and Components in ActionScript and F8.
> 
> I´m getting crazy, after spending hours testing, and reading over and over the DepthManager Class reference, trying to create some ComboBoxes and Labels which insist to having their dropdown components appearing behind the container where they were created.
> 
> [http://www.phdimobiliaria.com.br/fla…PanelEntry.swf](http://www.phdimobiliaria.com.br/flash/resultsPanelEntry.swf)
