# Preloader to external movies loaded into MC

**URL:** <https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077>\
**Category:** Uncategorized\
**Created:** [June 25, 2003, 9:11pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077 "2003-06-25T21:11:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mooler](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@mooler](https://forum.kirupa.com/u/mooler)\
**Post date:** [June 25, 2003, 9:11pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/1 "2003-06-25T21:11:27Z")

</div>

I posted a thread a while ago and got alot of good hits how to solve this but I must be dense or something ´cause everybody except me gets it.

I can´t get the preloader to work on the swf:s that are loaded into my MC called holder. The loadbar won´t work and the textbox that shows the procentige loaded don´t work?

I´m givin´up. My last hope is that some of you kind souls out there might pity me and do this for me and maybe then I would get it ( and then maybe not ). Yes I´m beggin´you to do the work for me _bowing head in all humbleness_.

I´m attaching the fla that I´ve been working with as a start swf to load my swf:s into and please please help me or I have to use an preloader in all my swf:s and that is no fun when I now it is doable in a much more cleverer way.

---

<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 25, 2003, 9:20pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/2 "2003-06-25T21:20:46Z")

</div>

Ok, lots of ppl have been asking for this. Ive tried something here, can u check if it works?  
I used 3 exteernal swf’s, 1 preloader and 1 transition movie.

\>\>\> [http://www.geocities.com/claudiodj/](http://www.geocities.com/claudiodj/) \<\<\<

---

<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 25, 2003, 9:32pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/3 "2003-06-25T21:32:03Z")

</div>

Yes that works but there´s no loadbar is it? But other than that it the same thing I´m trying to achieve.

---

<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 25, 2003, 9:33pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/4 "2003-06-25T21:33:24Z")

</div>

Nah, i thought of just using a loading animation…  
Man, it took me a few hours to get this 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 25, 2003, 9:36pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/5 "2003-06-25T21:36:09Z")

</div>

How do you get the “main movie” to stop and wait for the swf to be loaded into the MC and then when fully loaded continue to play. That is how you did it or?

---

<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 25, 2003, 9:43pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/6 "2003-06-25T21:43:03Z")

</div>

Let me try to explain it… i have a main mc and 3 external mcs.  
On my main stage i have a transition mc which includes the loading animation and a content mc, where the external mcs will be loaded into. Whenever i click a button, i assign a value to a variable(so the preloader can actually know which file im trying to load), start the transition sequence and let the preloader do his job. Thats the idea ive been working on.  
Id like more ppl to test it, if it really works, ill improve it and post the fla here  
🙂

---

<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 25, 2003, 9:46pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/7 "2003-06-25T21:46:13Z")

</div>

Ok I didn´t quite get that but I do look forward to you posting the fla and maybe I could modify that to suite my fla.  
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:** [June 25, 2003, 9:49pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/8 "2003-06-25T21:49:31Z")

</div>

Ok now all of a sudden I get it and that´s almost the same as I done it assigning values to variables and that´s what dicides what movie is loaded into the MC. My problem is that I can´t get the preloader to respond to the loading swf in my MC?

---

<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 25, 2003, 9:56pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/9 "2003-06-25T21:56:28Z")

</div>

Yes, dat is kinda tricky… check my file, maybe it will help you.  
=)

If any1 wants to test it for me, heres the link [http://www.geocities.com/claudiodj](http://www.geocities.com/claudiodj/index.htm). You can also download the file there. Any feedbackl will be apreciated.

Cheers  
🙂

---

<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 25, 2003, 10:06pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/10 "2003-06-25T22:06:14Z")

</div>

Aha I see you put the action for the preloader in the MC. I haven´t tried that maybe that will do it! I´ll have to sleep now zzzzzzz but will get right to that in the morning when I wake up  
🙂

---

<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 25, 2003, 10:06pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/11 "2003-06-25T22:06:59Z")

</div>

Hope you get it working man 🙂

---

<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 26, 2003, 8:14am UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/12 "2003-06-26T08:14:26Z")

</div>

Nope didn´t get it to work so I´m using a lame \_root.gotoAndPlay (); statment in my loaded swf:s instead and a boring static preloader in my main movie. Thanks for you help Claudio maybe in a couple of years I may understand this but now it escapes me.

---

<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 26, 2003, 2:18pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/13 "2003-06-26T14:18:46Z")

</div>

What you didnt understand man? Maybe i can help.  
The source file didnt help at all?

🙂

---

<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 26, 2003, 5:43pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/14 "2003-06-26T17:43:43Z")

</div>

I understand your code but my fla is built in another way and I think it will be to much work to redo it to be the same as yours. I´ll attach the fla incase you feel like taking a look at it.  
In the loaded swf:s I just put

[AS]\_root.gotoAndPlay (“out”);[/AS]  
To make the main move move on when the swf is fully loaded.

---

<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 26, 2003, 5:50pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/15 "2003-06-26T17:50:57Z")

</div>

Yeah ive checked ur fla but its very different of mine.  
I dunno how to preload external files except for the method i posted b4.

---

<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 26, 2003, 5:53pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/16 "2003-06-26T17:53:07Z")

</div>

Thanks anyway I will figure this out one day but for now it takes to much time. So the next time I´ll build my transision like yours 😉

THX!!

---

<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 26, 2003, 5:54pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/17 "2003-06-26T17:54:09Z")

</div>

You’re welcome! Good luck with ur project  
=)

---

<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 26, 2003, 11:56pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/18 "2003-06-26T23:56:34Z")

</div>

EVEN I M \*\*\*\*LY WORKING TO GET THIS OUT ! Y DONT WE USE (LOAD MOVIE) ACTION ! I THINK WE NEED KIRUPA OR SOMEONE GREAT HERE ?!

---

<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 26, 2003, 11:58pm UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/19 "2003-06-26T23:58:25Z")

</div>

Are you having problems understanding my code Nasir?

---

<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 27, 2003, 12:01am UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/20 "2003-06-27T00:01:36Z")

</div>

yes … what i do is load the movie with loadMOvie action like Kirupa’s tutorial. But when i use the same in a preloader;s code the bar doesn’t work !

[Next page](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077.md?page=2)
