# Error 1010: term is undefined....?

**URL:** <https://forum.kirupa.com/t/error-1010-term-is-undefined/323622>\
**Category:** Uncategorized\
**Created:** [July 10, 2011, 12:42am UTC](https://forum.kirupa.com/t/error-1010-term-is-undefined/323622 "2011-07-10T00:42:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oluc](https://avatars.discourse-cdn.com/v4/letter/o/cc9497/32.png) [@oluc](https://forum.kirupa.com/u/oluc)\
**Post date:** [July 10, 2011, 12:42am UTC](https://forum.kirupa.com/t/error-1010-term-is-undefined/323622/1 "2011-07-10T00:42:09Z")

</div>

i am running into the error: “#1010: A term in undefined and has no properties.”  
this is refering to the line:

trace ("btnLMain.langBoxS.name: " + btnLMain.langBoxS.name);

but i dont understand how this could be as i have each of the above defined as shown here:

```auto

var langBox:Shape = new Shape();
langBox.graphics.beginFill(0x000000, .75)
langBox.graphics.drawRect(0, 0, bxW, bxH); //i have bxW and bxH defined earlier in my code
langBox.graphics.endFill();

var langBoxS:MovieClip = new MovieClip();
langBoxS.name "da Box";
langBoxS.addChild(langBox);

var btnLMain:MovieClip = new MovieClip();
btnLMain.addChild(langBoxS);
btnLMain.x = 800;
btnLMain.x = 800;

addChild(btnLMain);
trace ("btnLMain.langBoxS.name: " + btnLMain.langBoxS.name);

```

do you know what possibly wrong?

embarrassedly to say, i have been hitting my head against this thing for the last couple of hours…
