# Targeting movieClips in AS3

**URL:** <https://forum.kirupa.com/t/targeting-movieclips-in-as3/312327>\
**Category:** flash\
**Created:** [July 30, 2010, 6:47pm UTC](https://forum.kirupa.com/t/targeting-movieclips-in-as3/312327 "2010-07-30T18:47:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccbass85](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@ccbass85](https://forum.kirupa.com/u/ccbass85)\
**Post date:** [July 30, 2010, 6:47pm UTC](https://forum.kirupa.com/t/targeting-movieclips-in-as3/312327/1 "2010-07-30T18:47:25Z")

</div>

Hey Guys,

Its day 3 of learning AS3 for me. And I’ve run onto a small problem that seems pretty simple but I haven’t been able to figure out the answer to. I cant seem to target a movieclip within a movieclip. I code with all my actions on the first frame of the root timeline and would like to continue this practice. But when I target the clip from the root my function wont run.

Here is my example:

```auto

wheel_mc.spinBackward_mc.buttonMode = true;
wheel_mc.spinForward_mc.addEventListener(MouseEvent.CLICK, spinForward);

function spinForward(event:MouseEvent):void {
	wheel_mc.outterRing_mc.play();
	wheel_mc.outterRing_mc.title_mc.gotoAndPlay("fadeIn");
	trace ("clicked button");

}

```

Basically it wont gotoAndPlay(“fadeIn”) and I’m not sure why. So my question so I can move on in my AS3 learning is how to I target a movieclip with another movieclip, or is there another more proper way to do what I’m trying to achieve.
