# How can I access elements on the stage from external classes?

**URL:** <https://forum.kirupa.com/t/how-can-i-access-elements-on-the-stage-from-external-classes/300326>\
**Category:** Uncategorized\
**Created:** [November 19, 2009, 8:37am UTC](https://forum.kirupa.com/t/how-can-i-access-elements-on-the-stage-from-external-classes/300326 "2009-11-19T08:37:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![milindb](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@milindb](https://forum.kirupa.com/u/milindb)\
**Post date:** [November 19, 2009, 8:37am UTC](https://forum.kirupa.com/t/how-can-i-access-elements-on-the-stage-from-external-classes/300326/1 "2009-11-19T08:37:19Z")

</div>

I have an external class in a .as file, my problem is that I can’t access text box elements on the stage. Code like stage.txtfield.text or this.parent.txtfield.text does not work. The txtfield is the instace name of a Dynamic Text field.
