# \*\*\*\*\*\*loadMovie problem\*\*\*\*\*\*

**URL:** <https://forum.kirupa.com/t/loadmovie-problem/23721>\
**Category:** flash\
**Created:** [June 21, 2003, 2:07pm UTC](https://forum.kirupa.com/t/loadmovie-problem/23721 "2003-06-21T14:07:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ambrosia](https://avatars.discourse-cdn.com/v4/letter/a/839c29/32.png) [@Ambrosia](https://forum.kirupa.com/u/Ambrosia)\
**Post date:** [June 21, 2003, 2:07pm UTC](https://forum.kirupa.com/t/loadmovie-problem/23721/1 "2003-06-21T14:07:01Z")

</div>

I have a movie (page 1 in my website) wich contains buttons that, when clicked, will open a content file into my content movie clip (instance name=content). This is my code that I`m using:

button1.onRelease=function(){  
loadMovie(“page1.swf”,"\_root.content");  
}

It works well when I preview it.

THEN I have my “main movie” which contains all of my links to my other .swf`s (pages), also a link to page 1. When I preview it in a browser and click my "page 1 link", the page loads, but none of the buttons are working. They only show empty content movie clip (a grey box where my content should load but it won`t).

Why aren`t my links working when I use them through my other .swf? :skull:

---

<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:** [June 21, 2003, 2:14pm UTC](https://forum.kirupa.com/t/loadmovie-problem/23721/2 "2003-06-21T14:14:12Z")

</div>

Try changing the \_root.content for \_parent\_parent.content

---

<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:** [June 21, 2003, 2:34pm UTC](https://forum.kirupa.com/t/loadmovie-problem/23721/3 "2003-06-21T14:34:38Z")

</div>

Still not working… :\*(

---

<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:** [June 21, 2003, 2:38pm UTC](https://forum.kirupa.com/t/loadmovie-problem/23721/4 "2003-06-21T14:38:05Z")

</div>

Can u post the files?

---

<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:** [June 21, 2003, 5:05pm UTC](https://forum.kirupa.com/t/loadmovie-problem/23721/5 "2003-06-21T17:05:17Z")

</div>

I don’t really get the problem … Can you clearify a bit ?

---

<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:** [June 21, 2003, 8:51pm UTC](https://forum.kirupa.com/t/loadmovie-problem/23721/6 "2003-06-21T20:51:48Z")

</div>

Yes im a little confused too  
:-\

---

<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:** [June 23, 2003, 10:31am UTC](https://forum.kirupa.com/t/loadmovie-problem/23721/7 "2003-06-23T10:31:25Z")

</div>

I don`t think I can explain it any simplyer (I have problems with my english) But I`ll try… :hair:

I have a web page that contains dirrerent kind of links (profile, gallery… etc) and one of the links is called “photos”. The “photos” page includes more links (like color photos, b&W photos etc)

What I would like to accomplish, is that when an user goes to my “photos” page and then click ex. “color photos” link, my “color photos” content loads next to the link.

* * *

SO I have two different pages (swf`s) that are connected toegther through “Photos” link. The first page is called “main” and the second one “photos”. 😃

My “photos” page works well when it`s not viewed through my "main"page. when I click my “color photos” link, my content loads nicely into my content movie clip. Everything works well.  
BUT  
When I link my “main” and “photos” pages together and try my “color photos” link through my “main” page (first go to the main page, then to the “photos” page, then click the “color photos” link) My content is not loading into my content movie clip.

I think I should somehow use that \_parent thingy in my code, but when i tried it it didn`t work. (I`m not sure thought whether I placed it in a right place… I`ve never used it before) :trout:

---

<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:** [June 23, 2003, 11:01am UTC](https://forum.kirupa.com/t/loadmovie-problem/23721/8 "2003-06-23T11:01:42Z")

</div>

I think you should check the drop down menu tutorial.  
Here is the link [http://www.kirupa.com/developer/mx/dropdownmenu.htm](http://www.kirupa.com/developer/mx/dropdownmenu.htm)

Maybe it will help a little, since u want the sub itens on photos to load near the main photo link.

---

<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:** [June 23, 2003, 11:44am UTC](https://forum.kirupa.com/t/loadmovie-problem/23721/9 "2003-06-23T11:44:51Z")

</div>

I am very bored so I made an example for you.  
=)
