# Load Movie Nightmare

**URL:** https://forum.kirupa.com/t/load-movie-nightmare/14565
**Category:** flash
**Created:** [February 27, 2003, 9:34pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565 "2003-02-27T21:34:58Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![MiKoO](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@MiKoO](https://forum.kirupa.com/u/MiKoO)
#### Post date: [February 27, 2003, 9:34pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/1 "2003-02-27T21:34:58Z")

</div>

Hi Guys 🙂

I’ve just joined, as I really need some help from some of your pro flash users. Ok I’m new to flash, only used it a few times…  
The problem I’m having… I made a site in flash a while ago, v.basic (tell target etc etc) I’m making one now using the loadmovie command… Moving on  
Today I started making it all up…I followed the tut on this site, and made external swf’s etc…OK the real problem

I have one movie…In this movie I have buttons, which open up a movie in the lower half of the site. The movie that opens up in the lower half, has buttons inside too, which I want to load movies into the loaded movie within the main movie _phew_  
To give you a better idea…

Main movie  
"  
Movie loaded in lower half of above movie  
"  
Movie loaded into the above loaded movie

The first movie loads in the main without any problem, but when I try to load the 3rd movie,into the second(loaded into main)movie, nothing happens… I’m using the code given with the tut on this site…The one that creates an empty clip (container)…

I guess if you looked it at it, you might get a better idea…_shrugs_  
[HELP ME](http://www.implodingvoices.co.uk/test3.html) Note this is rough as a dog so far, but i’m sure you’ll get the idea…I want the movie to load within the gallery movie that I loaded…if this is all confusing sorry…I’m a real newbie at this action scripting :hangover:

Thanks for any help you can give me, or even a work around…before I end up cutting the flash in half and working with two movies ;(

---

<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: [February 27, 2003, 9:45pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/2 "2003-02-27T21:45:50Z")

</div>

Here’s the code I’m using it might make things easier…

Ok main movie…The Gallery Button has this code attached to it…

gallery.onPress = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“Gallery.swf”, “container”);  
container.\_x = 20 ;  
container.\_y = 220 ;  
}

Then the poser gallery button within the Loaded movie has this code…

poser.onPress = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“PoserGalleryPage1.swf”, “container”);  
container.\_x = 0 ;  
container.\_y = 0 ;  
}

Nothing happens though…? When I run a test movie with just the gallery clip, everything works fine, but when I run through from the Main Movie clip, only the first loaded movie works…

Hope that helps…

---

<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: [February 27, 2003, 10:05pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/3 "2003-02-27T22:05:20Z")

</div>

gallery.onPress = function () {  
\_root.createEmptyMovieClip(“container1”, 1);  
loadMovie(“Gallery.swf”, “container1”);  
container1.\_x = 20 ;  
container1.\_y = 220 ;  
}

Then the poser gallery button within the Loaded movie has this code…

poser.onPress = function () {  
\_root.createEmptyMovieClip(“container2”, 2);  
loadMovie(“PoserGalleryPage1.swf”, “container2”);  
container2.\_x = 0 ;  
container2.\_y = 0 ;  
}

try this, i adjusted the MC names and levels

if you give 2 MC’s the same level, the first one will dissapear… and you get errors and flash starts to cry etc… 🙂

try it, maybe 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: [February 27, 2003, 10:14pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/4 "2003-02-27T22:14:25Z")

</div>

Cheers I’ll give that ago now

---

<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: [February 27, 2003, 10:29pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/5 "2003-02-27T22:29:09Z")

</div>

No I can’t get that to work either ☹ raaaaaaaah  
It still won’t load the movie into the loaded movie

---

<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: [February 27, 2003, 10:35pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/6 "2003-02-27T22:35:03Z")

</div>

Well \_root targets the main movie.

So try…

```php
gallery.onPress = function () {
this.createEmptyMovieClip("container1", 1);
this.container1.loadMovie("Gallery.swf");
container1._x = 20 ;
container1._y = 220 ;
}

```

---

<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: [February 27, 2003, 10:40pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/7 "2003-02-27T22:40:31Z")

</div>

\_parent also works…

\_root = the main movie  
\_parent = the \_root of the movie were the action is located,

lemme xplain more…

if i have index.swf as the main movie,  
INSIDE the index.swf, i load news.swf

\*when \_parent is located inside index.swf, it will do the same as \_root…

\*when \_parent is located inside news.swf, it will go to the \_root of news.swf…

understand? great! 😛

edit:  
deleted all \_current… sorry 😃

---

<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: [February 27, 2003, 10:47pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/8 "2003-02-27T22:47:25Z")

</div>

Maybe I am crazy, but I don’t believe \_current is an actual locator option in Flash. It sounds like if it was for anything it would be for a hyperlink aka a getURL location such as \_self, \_top, \_blank, etc.

But I am pretty sure \_current doesn’t exist :-\

I could be wrong :-\

---

<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: [February 27, 2003, 10:50pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/9 "2003-02-27T22:50:34Z")

</div>

you are wrong, i used \_current in this creation:

[LAB](http://menno.us/~RvGate/rvgate/lab/)

i needed to use \_current or else the orange ball 1 loaded movie would crash becoz the drag targets were the same as the main movie…when i used \_current, everything went smooth…

---

<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: [February 27, 2003, 10:53pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/10 "2003-02-27T22:53:27Z")

</div>

Sorry, im looking all over the web for this \_current thing and I can’t find anything on it. Can you please show me where you learned it?

---

<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: [February 27, 2003, 10:54pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/11 "2003-02-27T22:54:38Z")

</div>

i asked on another forum located here:

[Web-con](http://www.web-con.nl/)

searching to thread i posted now…

---

<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: [February 27, 2003, 10:57pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/12 "2003-02-27T22:57:57Z")

</div>

Wow, I definitely can’t read that at all…lol.

---

<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: [February 27, 2003, 11:00pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/13 "2003-02-27T23:00:12Z")

</div>

Its not in the AS Reference, Its not in the AS Dictionary, its not in the undocumented features list, its nowhere to be found through google or any other search engine.

I am still skeptical.

---

<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: [February 27, 2003, 11:01pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/14 "2003-02-27T23:01:06Z")

</div>

i remember, i looked up the lab i made, and i was using \_parent there, not \_current… 😃

sorry for the inconvenience…ill edit posts

---

<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: [February 27, 2003, 11:02pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/15 "2003-02-27T23:02:47Z")

</div>

Well I am glad to hear I am not completely insane RvGaTe…lol. I was scrambling everywhere to find information on this because I was wondering how I could have never learned that if it existed since it is a locator and thats one of the most important things to know in Flash.

---

<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: [February 27, 2003, 11:07pm UTC](https://forum.kirupa.com/t/load-movie-nightmare/14565/16 "2003-02-27T23:07:20Z")

</div>

anyways, lets go help this guy again instead of goin completely offtopic 🙂
