# Call upon movie clip further up!

**URL:** https://forum.kirupa.com/t/call-upon-movie-clip-further-up/29543
**Category:** Uncategorized
**Created:** [August 28, 2003, 1:56am UTC](https://forum.kirupa.com/t/call-upon-movie-clip-further-up/29543 "2003-08-28T01:56:06Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![trevorsaint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trevorsaint/32/268_2.png) [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)
#### Post date: [August 28, 2003, 1:56am UTC](https://forum.kirupa.com/t/call-upon-movie-clip-further-up/29543/1 "2003-08-28T01:56:06Z")

</div>

Hi all.

I have a movie clip and a movie clip inside that which I wish to call upon. I would normally use :

[AS]  
\_root[“name”].gotoAndPlay(2);  
[/AS]

however it is further up the chain, you would most likeley call it the child of the parent. I am unsure how to do this, could anyone advise me. I need to play the clip inside a movie clip, so the script above would not work unless i was playing the parent movie. so what is the action script for the next level up.

please advise

Trev

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 28, 2003, 2:17am UTC](https://forum.kirupa.com/t/call-upon-movie-clip-further-up/29543/2 "2003-08-28T02:17:29Z")

</div>

no.

it would be:

```auto
tellTarget("_root.name"){
gotoAndPlay(2);
}

```

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 28, 2003, 2:23am UTC](https://forum.kirupa.com/t/call-upon-movie-clip-further-up/29543/3 "2003-08-28T02:23:17Z")

</div>

Thanks for replying, no i understand. the action script i used would work fine, its just the movie clip is inside anouther movie clip, so i need to know the next stage up from that if you dont mind

cheers

trev

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 28, 2003, 2:26am UTC](https://forum.kirupa.com/t/call-upon-movie-clip-further-up/29543/4 "2003-08-28T02:26:51Z")

</div>

If you are using MX you should use dot syntax too. I think you just need to target the movieClip correctly. If you have a movieClip (dog) in a movieClip (doghouse) and doghouse is on your main stage; you want to animate the dog by telling it to play frame two, you would say:

```auto

_root.doghouse.dog.gotoAndPlay(2);

```

That should do it.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 28, 2003, 2:29am UTC](https://forum.kirupa.com/t/call-upon-movie-clip-further-up/29543/5 "2003-08-28T02:29:35Z")

</div>

ok, easy.  
heres a quick diagram:

```auto

_root.
  |
  |
  | ______ First Mc(called: one)
Path: _root.one |
                               |
                               | _______ Second Mc(called: two)
                                path: _root.one.two |
                                                                     |
                                                                     | _______ Third MC (called: three)
                                                                     Path: _root.one.two.three

```

you get the idea, yes?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 28, 2003, 2:31am UTC](https://forum.kirupa.com/t/call-upon-movie-clip-further-up/29543/6 "2003-08-28T02:31:34Z")

</div>

That did it, thank you!

what a guy!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 28, 2003, 2:32am UTC](https://forum.kirupa.com/t/call-upon-movie-clip-further-up/29543/7 "2003-08-28T02:32:07Z")

</div>

No problem.
