# LoadMovie + Failing Preload = Stress

**URL:** <https://forum.kirupa.com/t/loadmovie-failing-preload-stress/59076>\
**Category:** flash\
**Created:** [July 28, 2004, 7:30am UTC](https://forum.kirupa.com/t/loadmovie-failing-preload-stress/59076 "2004-07-28T07:30:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MFrederickson50](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@MFrederickson50](https://forum.kirupa.com/u/MFrederickson50)\
**Post date:** [July 28, 2004, 7:30am UTC](https://forum.kirupa.com/t/loadmovie-failing-preload-stress/59076/1 "2004-07-28T07:30:56Z")

</div>

So I have a movieclip called content on my main stage, and when a button is clicked I call \_root.content.loadMovie(“whatever.swf”) to load some content into it. Now, some of this content is big, so I wanted to have a preloader. I have a working preloader, so I just put it in the first scene of the swf that I’m loading. When I preview these content swf’s individually, the preloader works fine, but it doesn’t work at all when i load it with the actionscript call. Does anyone know why this happens, and more importantly how I can fix it? Thanks in advance.

-Mike

---

<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:** [July 28, 2004, 7:47am UTC](https://forum.kirupa.com/t/loadmovie-failing-preload-stress/59076/2 "2004-07-28T07:47:59Z")

</div>

try to make the preloader from the main stage, not from the swf .

---

<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:** [July 28, 2004, 7:48am UTC](https://forum.kirupa.com/t/loadmovie-failing-preload-stress/59076/3 "2004-07-28T07:48:13Z")

</div>

I don’t see any reason as to why it wouldn’t work, your script is correct and you say it works individually. Have you tried previewing it online in an HTML page?

---

<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:** [July 28, 2004, 4:26pm UTC](https://forum.kirupa.com/t/loadmovie-failing-preload-stress/59076/4 "2004-07-28T16:26:28Z")

</div>

How can I make the preloader from the mainstage work from on a loaded swf? (Also, I have tested the current setup online, and it doesn’t work there either.)

---

<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:** [July 28, 2004, 4:36pm UTC](https://forum.kirupa.com/t/loadmovie-failing-preload-stress/59076/5 "2004-07-28T16:36:20Z")

</div>

just a simple example:

when you load your swf into the content MC, than use codes like :

\_root.content.getBytesLoaded();

and make your preloader.

PS. you can use MovieClipLoader ,if you use Flash MX 2004 Pro:)
