var con:Sprite = new Sprite(); con.name = '100con'; this.addChild(con); var tf:TextField = new TextField(); con.addChild(tf); trace(tf.parent.name);