# Tell a movieclip within a movieclip to play

**URL:** https://forum.kirupa.com/t/tell-a-movieclip-within-a-movieclip-to-play/296405
**Category:** Uncategorized
**Created:** [September 14, 2009, 7:03pm UTC](https://forum.kirupa.com/t/tell-a-movieclip-within-a-movieclip-to-play/296405 "2009-09-14T19:03:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ThreeDollarBill](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@ThreeDollarBill](https://forum.kirupa.com/u/ThreeDollarBill)
#### Post date: [September 14, 2009, 7:03pm UTC](https://forum.kirupa.com/t/tell-a-movieclip-within-a-movieclip-to-play/296405/1 "2009-09-14T19:03:55Z")

</div>

i am trying to make a movieclip within a movieclip play using event.target but cant seem to make it work…

```auto
var imc:MovieClip = new inputMC();
addChild(imc);

imc.sendButton.addEventListener(MouseEvent.MOUSE_OVER, mouseOverButton);

function mouseOverButton(event:MouseEvent):void
{
    //imc.sendButton.gotoAndPlay("theOne"); // <----- this one works
    event.target.gotoAndPlay("theOne"); // <----- doesn't do anything
    //event.target.sendButton.gotoAndPlay("theOne"); // <---- throws an error
}

```
