# Problem telling parent movie from loaded swf

**URL:** <https://forum.kirupa.com/t/problem-telling-parent-movie-from-loaded-swf/56773>\
**Category:** flash\
**Created:** [July 7, 2004, 6:01pm UTC](https://forum.kirupa.com/t/problem-telling-parent-movie-from-loaded-swf/56773 "2004-07-07T18:01:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wanyo](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@wanyo](https://forum.kirupa.com/u/wanyo)\
**Post date:** [July 7, 2004, 6:01pm UTC](https://forum.kirupa.com/t/problem-telling-parent-movie-from-loaded-swf/56773/1 "2004-07-07T18:01:24Z")

</div>

So here’s my plight:

I have a parent movie that loads a swf(events.swf) file into a movie clip with an instance name of container. ([color=darkgreen]container.loadMovie(“events.swf”);[/color]) It loads fine and seems to work great.

events.swf has a movie clip inside of it called design\_mc that contains the content. In that movie clip I have a button that needs to target the parent movie and tell it to [color=darkgreen]gotoAndPlay(“eventsout”);[/color] which is on the \_root of the parent movie. However, anything I try will not target the parent movie. I’ve tried [color=darkgreen]\_parent[/color], [color=darkgreen]\_parent.\_parent[/color], [color=darkgreen]\_root[/color], and even assigning the parent [color=darkgreen]movie this.\_lockroot = true;[/color] . Nothing seems to target the parent movie. I’ve searched all over and I can’t find a solution to this problem.

---

<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:** [July 7, 2004, 8:20pm UTC](https://forum.kirupa.com/t/problem-telling-parent-movie-from-loaded-swf/56773/2 "2004-07-07T20:20:55Z")

</div>

have you tried this.\_parent ?

---

<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:** [July 7, 2004, 10:38pm UTC](https://forum.kirupa.com/t/problem-telling-parent-movie-from-loaded-swf/56773/3 "2004-07-07T22:38:46Z")

</div>

No, didn’t try that but I re-did the code and did something that made it work. Perhaps it was an error in the coding. Thank you for the help though! 🙂
