# Referring to a button that is not in the same scene

**URL:** <https://forum.kirupa.com/t/referring-to-a-button-that-is-not-in-the-same-scene/275513>\
**Category:** Uncategorized\
**Created:** [November 14, 2008, 7:52pm UTC](https://forum.kirupa.com/t/referring-to-a-button-that-is-not-in-the-same-scene/275513 "2008-11-14T19:52:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andriusain](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@andriusain](https://forum.kirupa.com/u/andriusain)\
**Post date:** [November 14, 2008, 7:52pm UTC](https://forum.kirupa.com/t/referring-to-a-button-that-is-not-in-the-same-scene/275513/1 "2008-11-14T19:52:30Z")

</div>

Hello everyone.

Im new to actionscript and I have been all day trying to find my way through a particular issue. Now I need someones help because I am going round in circles without achieving anything.

This is my scenario

Layer : actions (attaches a scrollbar and a mask to the textfield at the bottom)

layer : movieclip - layer : **Button** s. (Some animations here with buttons)

layer : mask (mask for the textfield)

layer : movieclip - layer: text field  
--------------------- layer:actions (here I want to refer to them buttons in order to make links into some external text files but I can’t simply with an instance name)

Help would be really appreciated.

Thank you all!
