# Accessing objects on stage

**URL:** <https://forum.kirupa.com/t/accessing-objects-on-stage/254138>\
**Category:** flash\
**Created:** [March 8, 2008, 1:12pm UTC](https://forum.kirupa.com/t/accessing-objects-on-stage/254138 "2008-03-08T13:12:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Three](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@Three](https://forum.kirupa.com/u/Three)\
**Post date:** [March 8, 2008, 1:12pm UTC](https://forum.kirupa.com/t/accessing-objects-on-stage/254138/1 "2008-03-08T13:12:11Z")

</div>

Hello all,

Could someone explain me the concept of objects at the stage? How I would access them.

For example: I’ve made 3 classes, in one of them I made an container that contains a Circle. In another class I want to access them. So I know the structure of the stage is now as follow:

stage  
\_ container  
\_\_\_\_ circle

First I thought about giving the container a name so I could access it with getChildByName(). Only when I try stage.getChildByName() I get the error that I cannot access a property or method of a null object reference.

Thanks in advance
