I add a child to an array after its added
if (_viewLandedAtAsBase == true)
{
addChild(asBaseScreen);
currentBase.push[asBaseScreen]
}
then later on as a test i want to trace it
trace("currentBaseFromView= "+currentBase[0])
when i land at the base i get the folowing error
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()