# Preloading external SWF

**URL:** https://forum.kirupa.com/t/preloading-external-swf/64393
**Category:** flash
**Created:** [September 15, 2004, 7:55pm UTC](https://forum.kirupa.com/t/preloading-external-swf/64393 "2004-09-15T19:55:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ali\_tdk](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ali_tdk/32/306_2.png) [@ali\_tdk](https://forum.kirupa.com/u/ali_tdk)
#### Post date: [September 15, 2004, 7:55pm UTC](https://forum.kirupa.com/t/preloading-external-swf/64393/1 "2004-09-15T19:55:18Z")

</div>

I would like to pre-load an swf into my main timeline, however i wish to do this secretly in the background, so when i load it up, it will be instant. So while my main timeline is playing animation, the other swf is being loaded gradually.

At the moment i am loading the movie into my main timeline, through Loadmovie, and i am loading it into an empty movie clip. I am able to load the swf into the start of the timeline, however it will start playing, i wish for it to be hidden until later, so i can make it play wherever i want.

can anyone give me exact code and instructions on how to do this?

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: [September 15, 2004, 8:00pm UTC](https://forum.kirupa.com/t/preloading-external-swf/64393/2 "2004-09-15T20:00:12Z")

</div>

Maybe you could use standard preloading code to monitor the loading of the external swf and once it’s loaded put a stop on a blank frame. For example many of the preloader tutorials on [kirupa.com](http://kirupa.com) have all the preloading code happenning on frames 1 and 2. Then when everything is loaded it progresses to frame 3 and stuff happens. So you could leave frame 3 blank with a stop action on it and have all your real stuff start on frame 4. Then when you are ready to show the external swf you just have flash progress to frame 4.

Does that make sense or did I just talk in circles? 😛

---

<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: [September 15, 2004, 9:36pm UTC](https://forum.kirupa.com/t/preloading-external-swf/64393/3 "2004-09-15T21:36:55Z")

</div>

i totally didnt get any of that…?!
