# External....gotoandplay()

**URL:** https://forum.kirupa.com/t/external-gotoandplay/21784
**Category:** Uncategorized
**Created:** [May 26, 2003, 10:36am UTC](https://forum.kirupa.com/t/external-gotoandplay/21784 "2003-05-26T10:36:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Drunken](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@Drunken](https://forum.kirupa.com/u/Drunken)
#### Post date: [May 26, 2003, 10:36am UTC](https://forum.kirupa.com/t/external-gotoandplay/21784/1 "2003-05-26T10:36:54Z")

</div>

hy!

I have this situation:

- main movie
- external movie
- 1 mc into external movie

I load the external movie into main movie and i want to put a gotoandplay() in mc of the external movie, to the external, like this:

[AS]on (release) {

```
   _root.gotoAndPlay (45);

```

}  
[/AS]

but it takes action in the main movie and not in external movie…

How can do it ??

thks

---

<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: [May 26, 2003, 10:45am UTC](https://forum.kirupa.com/t/external-gotoandplay/21784/2 "2003-05-26T10:45:31Z")

</div>

I’m not exactly sure what you’re trying to do, but if I’m not mistaken then I’m thinking you’re trying to go to frame 45 of the movieclip inside the external movie? If that’s the case then try something like this. [AS]on (release) {  
this.gotoAndPlay (45);  
}  
[/AS] or  
[AS]on (release) {  
\_parent.gotoAndPlay (45);  
}  
[/AS]

Try one of those and see if it works.

---

<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: [May 26, 2003, 10:54am UTC](https://forum.kirupa.com/t/external-gotoandplay/21784/3 "2003-05-26T10:54:40Z")

</div>

electrongeek !!! THKS !!

the second option works as i want !!  
\_parent.gotoAndPlay (45);

sorry but my english isn’t very good 🙂

---

<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: [May 26, 2003, 5:19pm UTC](https://forum.kirupa.com/t/external-gotoandplay/21784/4 "2003-05-26T17:19:26Z")

</div>

no problem =)
