# Loaded SWF calling main movie

**URL:** <https://forum.kirupa.com/t/loaded-swf-calling-main-movie/264122>\
**Category:** Uncategorized\
**Created:** [June 23, 2008, 1:21pm UTC](https://forum.kirupa.com/t/loaded-swf-calling-main-movie/264122 "2008-06-23T13:21:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![colouredFunk](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Post date:** [June 23, 2008, 1:21pm UTC](https://forum.kirupa.com/t/loaded-swf-calling-main-movie/264122/1 "2008-06-23T13:21:12Z")

</div>

Hi,

I’ve got a loaded SWF that I want to be able to comnunicate to the base movie.

Can someone help me out?

Cheers

---

<div class="post-metadata">

**Author:** ![colouredFunk](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@colouredFunk](https://forum.kirupa.com/u/colouredFunk)\
**Post date:** [June 24, 2008, 6:29am UTC](https://forum.kirupa.com/t/loaded-swf-calling-main-movie/264122/2 "2008-06-24T06:29:51Z")

</div>

anyone?

---

<div class="post-metadata">

**Author:** ![Nattis](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@Nattis](https://forum.kirupa.com/u/Nattis)\
**Post date:** [June 24, 2008, 7:46am UTC](https://forum.kirupa.com/t/loaded-swf-calling-main-movie/264122/3 "2008-06-24T07:46:40Z")

</div>

Hi

The base movie can be reached by calling parent.parent in your loaded swf.

For instance, put this in the main timeline in the loaded swf to make the base movie go to frame 2  
MovieClip(parent.parent).gotoAndStop(2);

-Nattis

---

<div class="post-metadata">

**Author:** ![Iamthejuggler](https://avatars.discourse-cdn.com/v4/letter/i/ecc23a/32.png) [@Iamthejuggler](https://forum.kirupa.com/u/Iamthejuggler)\
**Post date:** [June 24, 2008, 8:24am UTC](https://forum.kirupa.com/t/loaded-swf-calling-main-movie/264122/4 "2008-06-24T08:24:17Z")

</div>

Or you can create an event listener on the main swf, then dispatch the event from the child swf and handle it in a function on the main swf.
