# Having trouble setting things to null

**URL:** <https://forum.kirupa.com/t/having-trouble-setting-things-to-null/288901>\
**Category:** Uncategorized\
**Created:** [May 22, 2009, 3:55pm UTC](https://forum.kirupa.com/t/having-trouble-setting-things-to-null/288901 "2009-05-22T15:55:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lope](https://forum.kirupa.com/u/lope)\
**Post date:** [May 22, 2009, 3:55pm UTC](https://forum.kirupa.com/t/having-trouble-setting-things-to-null/288901/1 "2009-05-22T15:55:58Z")

</div>

I can trace it:

```auto
trace(thumbArray*.getChildAt(6).name);

```

//output: tmbLoader

but if I try this:

```auto
thumbArray*.getChildByName("tmbLoader") = null;

```

I get an error:  
ActionScript Error #1105: Target of assignment must be a reference value.
