# Refrencing A Movie Clip from a nested button

**URL:** <https://forum.kirupa.com/t/refrencing-a-movie-clip-from-a-nested-button/293138>\
**Category:** flash\
**Created:** [July 23, 2009, 6:11pm UTC](https://forum.kirupa.com/t/refrencing-a-movie-clip-from-a-nested-button/293138 "2009-07-23T18:11:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fantasticphil](https://avatars.discourse-cdn.com/v4/letter/f/d26b3c/32.png) [@fantasticphil](https://forum.kirupa.com/u/fantasticphil)\
**Post date:** [July 23, 2009, 6:11pm UTC](https://forum.kirupa.com/t/refrencing-a-movie-clip-from-a-nested-button/293138/1 "2009-07-23T18:11:18Z")

</div>

Hello all,

I created a movie clip that is driven by a button to tween onto the stage,there is a button inside the movie clip to tween the clip off the stage.

Is there a way to reference the movie clip from the nested button? This is the script that I wrote for it:

function dgaExit(event:MouseEvent):void {  
var moveTween:Tween = new Tween(this.links\_mc.pressn.dga\_parent\_mc, “x”, Strong.easeOut,295,-2862, 1, true);  
}

I get the 1010 type error message:

Error #1010: A term is undefined and has no properties.  
at site3\_fla::dga\_parent\_37/dgaExit()

Thanks in advance!

Phil
