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

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.