Подробнее - в хелпе
Цитата:
|
if you place a version 2 component either on the Stage or in the Library, the getNextHighestDepth() method can sometimes return depth 1048676, which is outside the valid range. If you are using version 2 components, you should always use the version 2 components DepthManager class.
|
В переводе - задавайте глубину руками.
Правда, смотря что у вас this. Проверить, в этом ли дело, несложно:

Код:
trace(this.getNextHighestDepth());