# Component and Preloader

**URL:** https://forum.kirupa.com/t/component-and-preloader/17614
**Category:** flash
**Created:** [April 7, 2003, 3:45pm UTC](https://forum.kirupa.com/t/component-and-preloader/17614 "2003-04-07T15:45:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![KazchiX](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@KazchiX](https://forum.kirupa.com/u/KazchiX)
#### Post date: [April 7, 2003, 3:45pm UTC](https://forum.kirupa.com/t/component-and-preloader/17614/1 "2003-04-07T15:45:13Z")

</div>

Hi all,

why is my preloader not starting untill 70% of the file loaded even though I deleted all the components? My fla is over 1.5M so I dont think I can upload this file. Does anybody know why it doesnt work properly?

---

<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: [April 7, 2003, 3:47pm UTC](https://forum.kirupa.com/t/component-and-preloader/17614/2 "2003-04-07T15:47:52Z")

</div>

Hey KazchiX,

A thread like this was posted earlier…

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=19765](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=19765)

That may help you a bit.

Also… even if you delete the components off the stage, if they are still in your library they will still be set to “Export to First Frame” in the linkage settings. So unless you remove them from your library as well, your preloader will be wacky (read thread link above for possible solution)

---

<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: [April 7, 2003, 4:09pm UTC](https://forum.kirupa.com/t/component-and-preloader/17614/3 "2003-04-07T16:09:03Z")

</div>

Thanks Lost,

Preloader is now starting at 40%. I guess this is as good as it gets cuz without components, my swf is now only 22k. I might not need preloader 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: [April 7, 2003, 4:14pm UTC](https://forum.kirupa.com/t/component-and-preloader/17614/4 "2003-04-07T16:14:32Z")

</div>

Hmm, so even without components in the library it still starts late?

Do you have sound? or clips that are pulled out through attachMovie()???

Those are the only things I can think of. If anything is set to export to first frame (actually frame 0, which is before all content in your movie) then it will delay your preloader.

---

<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: [April 7, 2003, 4:56pm UTC](https://forum.kirupa.com/t/component-and-preloader/17614/5 "2003-04-07T16:56:22Z")

</div>

There is sound object but it is called at the last frame of main 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: [April 7, 2003, 6:36pm UTC](https://forum.kirupa.com/t/component-and-preloader/17614/6 "2003-04-07T18:36:03Z")

</div>

But if your sound in the library is set to export to first frame, then it will load before your whole movie.

That is if you attach it via attachSound.

You could also drag it onto a frame earlier in the movie and set the sync to Stop in the properties panel, that way you don’t have to export it to first frame. It should work.
