# \_parent.\_name not showing up

**URL:** <https://forum.kirupa.com/t/-parent--name-not-showing-up/325823>\
**Category:** flash\
**Created:** [November 7, 2011, 12:09am UTC](https://forum.kirupa.com/t/-parent--name-not-showing-up/325823 "2011-11-07T00:09:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claid](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@Claid](https://forum.kirupa.com/u/Claid)\
**Post date:** [November 7, 2011, 12:09am UTC](https://forum.kirupa.com/t/-parent--name-not-showing-up/325823/1 "2011-11-07T00:09:19Z")

</div>

ok since no replyes to my last post ive added an example:  
basicly in root i have this code:

var container\_mc:MovieClip = this.createEmptyMovieClip(“container\_mc”, this.getNextHighestDepth());  
attachMovie(“button\_mc”,“button\_mcadded”,\_root[container\_mc]);

and the button\_mc that has a btn called myb has this code

myb.onRelease = function (){  
trace(this.\_name) //trace is correct  
trace(\_name) //trace is correct  
trace(\_parent.\_name) //traces a empty line not eaven undfined should trace container\_mc  
}
