# PreLoading issue with Flash MX

**URL:** <https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097>\
**Category:** flash\
**Created:** [July 9, 2003, 2:42pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097 "2003-07-09T14:42:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![FearYourDreams](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@FearYourDreams](https://forum.kirupa.com/u/FearYourDreams)\
**Post date:** [July 9, 2003, 2:42pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/1 "2003-07-09T14:42:15Z")

</div>

I’ve used a number of different preloaders in my newer flash mx movies and i keep coming up with the same result.

When testing the movie in Flash or html, the preloader (or anything in the preload scene) does not show until about 80% of the full swf is downloaded. This happens on swf files ranging from 64kb to 700kb, so im sure the size of the movie is not at fault. What could be causing this and how can i get around 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:** [July 9, 2003, 2:47pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/2 "2003-07-09T14:47:19Z")

</div>

Are you using components(scrolllbar, scrollpane…) or exporting anything in 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:** [July 9, 2003, 2:58pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/3 "2003-07-09T14:58:07Z")

</div>

One of the preloaders i tried was taken directly from [kirupa.com](http://kirupa.com) and that was a component. But as far as components go, that would have been the only one in the whole movie.

In the main scene, i have sound files exported through actionscript. They are just connected to buttons so when clicked, you hear that sound clip. They are in the first frame but the first frame of the second scene (as there is only one frame, 4 layers in the second scene).

---

<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 9, 2003, 3:02pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/4 "2003-07-09T15:02:38Z")

</div>

If you have sound files exported through actionscript, its exported in first frame, causing a load delay when the movie starts.

---

<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 9, 2003, 3:40pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/5 "2003-07-09T15:40:30Z")

</div>

would you happen to have any ideas how i could space it out so that the delay isn’t caused? i tried moving the sound export frame over one but that didn’t help.

---

<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 9, 2003, 3:46pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/6 "2003-07-09T15:46:50Z")

</div>

Hmm… what are you using the sound for? Is it important to load the sounds as the movie begins or can it be downloaded after everything else is loaded?

---

<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 9, 2003, 4:00pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/7 "2003-07-09T16:00:43Z")

</div>

If it can be downloaded after everything else, that’s fine. The main part of the site is the sounds but as long as slower users don’t think the site didn’t load and they have something to look at, then it’s fine. how could i get everything else to load up first?

Just so you know, each of the 42 buttons on the second scene use this method:

on (release) {  
zimSound = new Sound(this);  
zimSound.attachSound(“shtnstu”);  
zimSound.start(0, 0);  
}

---

<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 9, 2003, 4:05pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/8 "2003-07-09T16:05:53Z")

</div>

You could place the sound in a external swf and then load it on release. This way you can preload it as you were preloding a normal 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 9, 2003, 4:11pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/9 "2003-07-09T16:11:00Z")

</div>

Do you mean separate swf files for each of the sounds? or one swf file that holds all the sound files?

---

<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 9, 2003, 4:11pm UTC](https://forum.kirupa.com/t/preloading-issue-with-flash-mx/25097/10 "2003-07-09T16:11:47Z")

</div>

One for wach sound
