# Loadmovie Question? Help

**URL:** <https://forum.kirupa.com/t/loadmovie-question-help/28758>\
**Category:** flash\
**Created:** [August 18, 2003, 5:38am UTC](https://forum.kirupa.com/t/loadmovie-question-help/28758 "2003-08-18T05:38:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arturziyalov](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@arturziyalov](https://forum.kirupa.com/u/arturziyalov)\
**Post date:** [August 18, 2003, 5:38am UTC](https://forum.kirupa.com/t/loadmovie-question-help/28758/1 "2003-08-18T05:38:01Z")

</div>

What actionscript do I use to lets say as soon as my page loads I want to preload a few external swf’s, into the main movie, my main movie contains 1 keyframe. I hope this isnt a hard question.

Thanks every1 for their help & support.

---

<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 18, 2003, 5:45am UTC](https://forum.kirupa.com/t/loadmovie-question-help/28758/2 "2003-08-18T05:45:05Z")

</div>

Well, depends on where you want to place your preloader. Placing them in the external SWF is seems best for this purpose. Use [this tutorial](http://www.kirupa.com/developer/mx/percentagepreloader.htm) to create a preloader in your external movies. Then just use this code to load the external SWF’s (containing it’s preloader):

[AS]  
//on (release){  
\_root.placeholder.loadMovie(“external1.swf”);  
//}  
//Uncomment the first and the third line if it’s on a button.  
[/AS]

But, if the movie which loads the SWF is going to be loaded into another movie too, you’ll have to change \_root.placeholder to a relative path.

---

<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 18, 2003, 5:50am UTC](https://forum.kirupa.com/t/loadmovie-question-help/28758/3 "2003-08-18T05:50:41Z")

</div>

Thanks Voet, but I want the external movie to load as soon as my main movie loads and I want to load the external swf without the user having to click any buttons.

---

<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 18, 2003, 8:03am UTC](https://forum.kirupa.com/t/loadmovie-question-help/28758/4 "2003-08-18T08:03:08Z")

</div>

No problem, just put the code on the frame on which you want it to load.
