var ob:MovieClip = this.getChildByName("m1") as MovieClip; trace(ob.numChildren); //выдаёт 1, т.к. один объект там "m2"