# Accessing Stage Instances from .as File linked to a movieclip (AS3)

**URL:** <https://forum.kirupa.com/t/accessing-stage-instances-from-as-file-linked-to-a-movieclip-as3/313404>\
**Category:** Uncategorized\
**Created:** [August 28, 2010, 10:44pm UTC](https://forum.kirupa.com/t/accessing-stage-instances-from-as-file-linked-to-a-movieclip-as3/313404 "2010-08-28T22:44:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddrjm](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@ddrjm](https://forum.kirupa.com/u/ddrjm)\
**Post date:** [August 28, 2010, 10:44pm UTC](https://forum.kirupa.com/t/accessing-stage-instances-from-as-file-linked-to-a-movieclip-as3/313404/1 "2010-08-28T22:44:25Z")

</div>

Hey there, first post 😃

i’ve been all afternoon trying to figure out a solution to my problem, and I can’t seem to find it, or cannot implement it. Let me lay it out for you:

[LIST][_]I have an actionscript file linked to a movieclip. (movieclip:skate class linked: generic\_skate).  
[_]I have it set up that way so I can create an array of skates easily (i’m using a for loop to create them), and each skate has its own attributes (name, description, price and the image that is supposed to go on the deck)  
[_]In the stage, i have three text boxes, one for the price, other for the name, and another one for the description.  
[_]In the generic\_skate class, I’m handling all the mouse events (in this case mouseOver and mouseOut.

[/LIST]

What i want to accomplish is: when the user hovers over a skate, the info shows up in the text fields and when he hovers out, the info goes away.

**My problem:**  
Since I’m doing all the mouse interaction in the class file, my guess is that I have to access the stage to get to the text boxes that are placed there to change its info or somehow create a “middle” man to do all the handling…

Could someone please tell me how do I access the text objects on the stage from the class to update them?

best regards.

\*\*EDIT:\*\*I do not have a document class.
