Having trouble setting things to null

I can trace it:

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

//output: tmbLoader

but if I try this:

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

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