# Dumb Question - How do I contro lthe parent movie from a loaded movie

**URL:** <https://forum.kirupa.com/t/dumb-question-how-do-i-contro-lthe-parent-movie-from-a-loaded-movie/62131>\
**Category:** flash\
**Created:** [August 25, 2004, 7:02am UTC](https://forum.kirupa.com/t/dumb-question-how-do-i-contro-lthe-parent-movie-from-a-loaded-movie/62131 "2004-08-25T07:02:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjmancini](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jjmancini](https://forum.kirupa.com/u/jjmancini)\
**Post date:** [August 25, 2004, 7:02am UTC](https://forum.kirupa.com/t/dumb-question-how-do-i-contro-lthe-parent-movie-from-a-loaded-movie/62131/1 "2004-08-25T07:02:03Z")

</div>

I have a movie title layout.swf. I am loading a movie on enter frame called 1.swf. Now when 1.swf gets to a particular frame, I want it to tell layout.swf to lad 2.swf.

How do I do this?

Thanks!

---

<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 25, 2004, 7:06am UTC](https://forum.kirupa.com/t/dumb-question-how-do-i-contro-lthe-parent-movie-from-a-loaded-movie/62131/2 "2004-08-25T07:06:59Z")

</div>

in the main timeline of 1.swf, use:

this.\_parent

to refer its parent movieclip… 🙂  
then to load 2.swf, use:

this.\_parent.loadMovie(“2.swf”);

---

<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 25, 2004, 7:14am UTC](https://forum.kirupa.com/t/dumb-question-how-do-i-contro-lthe-parent-movie-from-a-loaded-movie/62131/3 "2004-08-25T07:14:35Z")

</div>

Awesome! Thanks so much! That is perfect!  
Do you happen to know of any specific tutorial that really explains loading and unloading movies and which one is best for what and just controlling movies from other movies etc…?

That would be awesome… THanks so much!  
That was the fastest reply ever!

---

<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 25, 2004, 7:19am UTC](https://forum.kirupa.com/t/dumb-question-how-do-i-contro-lthe-parent-movie-from-a-loaded-movie/62131/4 "2004-08-25T07:19:37Z")

</div>

[http://www.kirupa.com/developer/mx/loading.htm#Loading%20movies%20into%20target:%20Flash%20MX](http://www.kirupa.com/developer/mx/loading.htm#Loading%20movies%20into%20target:%20Flash%20MX)  
[http://www.kirupa.com/developer/mx/full\_site2.htm](http://www.kirupa.com/developer/mx/full_site2.htm)

might be some more, to unload, use a different .swf to load, or just to remove the loaded swf

\_root.container = null

---

<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 25, 2004, 7:26am UTC](https://forum.kirupa.com/t/dumb-question-how-do-i-contro-lthe-parent-movie-from-a-loaded-movie/62131/5 "2004-08-25T07:26:21Z")

</div>

Awesome! Thanks so much!

I was looking through those, and realized my problem, I forgot to put quotes around my “swftitle.swf” like that. Thanks again!
