# Stage referencing from other classes

**URL:** <https://forum.kirupa.com/t/stage-referencing-from-other-classes/315489>\
**Category:** flash\
**Created:** [October 27, 2010, 1:20pm UTC](https://forum.kirupa.com/t/stage-referencing-from-other-classes/315489 "2010-10-27T13:20:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![renton79](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@renton79](https://forum.kirupa.com/u/renton79)\
**Post date:** [October 27, 2010, 1:20pm UTC](https://forum.kirupa.com/t/stage-referencing-from-other-classes/315489/1 "2010-10-27T13:20:14Z")

</div>

Hello Everyone, for some time now I have been trying to  
reference to the stage from outside Document class and  
tried many different ways I found on google and it seems  
none of them works (maybe there were some changes in  
flash since they were posted.

For example TopLevel approach by Senocular doesn’t work  
either I do it as described in here

> **[ActionScript 3 Tip of the Day - Page 15](https://www.kirupa.com/forum/showthread.php?p=1952513)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

or if I do it as it is here (with ADDED\_TO\_STAGE)

[http://www.senocular.com/flash/actionscript/?file=ActionScript\_3.0/TopLevel.as](http://www.senocular.com/flash/actionscript/?file=ActionScript_3.0/TopLevel.as)

The only way it seemed to work is by passing a stage as  
a variable. Has anyone any idea of a way to do it without  
the need of passing it by.

(by the way, I can’t understand this limitation)
