# 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:** 13\
**Page:** 2

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

</div>

I also use loadMovie, but its more complex since i added a transition and a preloadr for the external 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 27, 2003, 12:03am UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/22 "2003-06-27T00:03:36Z")

</div>

can u explain ? (sorry to irritate you)

---

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

</div>

claudio the rest i understood. just explain what is ‘closing’ which appers in every actionscript and where have u placed the loading sequence !

---

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

</div>

Ok ill try to give a brief explanation on the concept…

Whenever u click a button, it checks if the content you are trying to load is already placed on the container movie clip (lets call it **content mc** ).  
If it is a different content, a value is assigned to a variable, telling which external swf should be loaded **(note that we are not telling the external movie clip to load right now)**. Then it tells the transition mc to play its closing animation.

Once the closing animation is done, we are goin to load whaetver movie is stored in our variable into content mc.

The content mc then checks if it has any external content inside itself. Now this is where the preloading thing takes place. Once the external movie is fully loaded, the content mc tells the transition mc to play its opening animation, revealing the new content.

I hope this helps…  
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 27, 2003, 12:17am UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/25 "2003-06-27T00:17:40Z")

</div>

> \*Originally posted by nasir \*  
> \*\*claudio the rest i understood. just explain what is ‘closing’ which appers in every actionscript and where have u placed the loading sequence ! \*\*

Nasir, **closing** is just the label of closing animation’s first frame.

---

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

</div>

dont you think its easier than loading only external movies. god bless transiction and YOU !

---

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

</div>

U do think that?  
😛

---

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

</div>

yup !

---

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

</div>

claudio there is one more thing. instead of the loading animation i want to insert a loading bar. where will i inert 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:** [June 27, 2003, 12:37am UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/30 "2003-06-27T00:37:56Z")

</div>

with percentage and all that’s because i m preloading an external game !

---

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

</div>

All the preloading takes place on **content mc**. I was in a hurry to finish my example and decided not to use a load bar, If u want, put the code for load bar inside content mc.  
I think im goint to update my example 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:** [June 27, 2003, 12:43am UTC](https://forum.kirupa.com/t/preloader-to-external-movies-loaded-into-mc/24077/32 "2003-06-27T00:43:37Z")

</div>

thank you !

---

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

</div>

you’re welcome!  
let me know when ur done.  
🙂

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