# Array Problem "1069"

**URL:** <https://forum.kirupa.com/t/array-problem-1069/319692>\
**Category:** flash\
**Created:** [March 1, 2011, 9:48pm UTC](https://forum.kirupa.com/t/array-problem-1069/319692 "2011-03-01T21:48:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimacy](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Post date:** [March 1, 2011, 9:48pm UTC](https://forum.kirupa.com/t/array-problem-1069/319692/1 "2011-03-01T21:48:59Z")

</div>

I add a child to an array after its added

```auto
if (_viewLandedAtAsBase == true)
            {
                
                addChild(asBaseScreen);
                currentBase.push[asBaseScreen]
            }

```

then later on as a test i want to trace it

```auto
trace("currentBaseFromView= "+currentBase[0])

```

when i land at the base i get the folowing error

```php
ReferenceError: Error #1069: Property [object AsBaseScreen] not found on builtin.as$0.MethodClosure and there is no default value.
    at AsteroidSupplyView/keyPollUpdate()
    at AsteroidSupplyApplication/enterFrameHandler()

```
