# 1120 error, don't get it

**URL:** <https://forum.kirupa.com/t/1120-error-dont-get-it/323194>\
**Category:** flash\
**Created:** [June 20, 2011, 5:35pm UTC](https://forum.kirupa.com/t/1120-error-dont-get-it/323194 "2011-06-20T17:35:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hvdstaal](https://avatars.discourse-cdn.com/v4/letter/h/7cd45c/32.png) [@Hvdstaal](https://forum.kirupa.com/u/Hvdstaal)\
**Post date:** [June 20, 2011, 5:35pm UTC](https://forum.kirupa.com/t/1120-error-dont-get-it/323194/1 "2011-06-20T17:35:23Z")

</div>

Hi!

I’m trying to “link” a button(fac\_btn) on a movieclip(tint\_mc).  
Only thing is that my button(fac\_btn) is inside another movieclip-layer(fac\_mc).  
I know it’s a bad habit, but there’s no other way…  
So Flash can’t find tint\_mc, because he is on the stage.

How can I fix this?  
This is my code

```auto

fac_btn.addEventListener(MouseEvent.CLICK, clickFunction);

function clickFunction(evt:MouseEvent):void {
tint_mc.gotoAndPlay("on");
}

```
