# Percentage Preloader problem

**URL:** <https://forum.kirupa.com/t/percentage-preloader-problem/16889>\
**Category:** flash\
**Created:** [March 29, 2003, 4:18pm UTC](https://forum.kirupa.com/t/percentage-preloader-problem/16889 "2003-03-29T16:18:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveKrutzler](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@SteveKrutzler](https://forum.kirupa.com/u/SteveKrutzler)\
**Post date:** [March 29, 2003, 4:18pm UTC](https://forum.kirupa.com/t/percentage-preloader-problem/16889/1 "2003-03-29T16:18:31Z")

</div>

So I worked through this tutorial at

[http://www.kirupa.com/developer/mx/percentagepreloader.htm](http://www.kirupa.com/developer/mx/percentagepreloader.htm)

But the problem is when I use it in my movie, the Preloader doesn’t even appear for a few moments (like 20 seconds) and then when it does, it starts at 49%. I copied all the elements and the ActionScript from the completed FLA to make sure it’s all right. My movie contains an attached sound, dunno if that might be affecting the way the loader works…

Help please! 🙂

---

<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:** [March 29, 2003, 4:35pm UTC](https://forum.kirupa.com/t/percentage-preloader-problem/16889/2 "2003-03-29T16:35:49Z")

</div>

as a matter of fact, yes, the sound surely is part of the problem. :-\

run a search in the forums for _export in first frame_ and you’ll find out what to do 😉 =)

---

<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:** [March 29, 2003, 7:20pm UTC](https://forum.kirupa.com/t/percentage-preloader-problem/16889/3 "2003-03-29T19:20:15Z")

</div>

Yeah, that fixed it. But the problem is, when it’s just in a frame in the movie, there doesn’t seem to be any way to control the music with the Play/Stop buttons. When I press stop, it doesn’t stop the music, even though I have a stop action for the movie attached to the stop button. This is where the ActionScript method worked because I could control volume and such. Although I don’t understand why it doesn’t halt the stop when the movie stops. I mean, if the timeline halts, shouldn’t the music stop right where you press stop?

---

<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:** [March 29, 2003, 7:30pm UTC](https://forum.kirupa.com/t/percentage-preloader-problem/16889/4 "2003-03-29T19:30:14Z")

</div>

put the sound in a frame and select **stop** in the sync drop down menu located in the properties panel. now attach the sound to a sound object like you did 😉

---

<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:** [March 29, 2003, 7:35pm UTC](https://forum.kirupa.com/t/percentage-preloader-problem/16889/5 "2003-03-29T19:35:43Z")

</div>

Hmm, I’m not quite following. Do you mean “attach to a sound object” as in the Stop button I’m talking about or the attach ActionScript function I was working with before that interferred with the preloader?

I did manage to tell the sound to “stream,” which then makes it stop when you stop the movie. The only problem is, the sound is longer than my movie and I can’t have it fade out at the end because if you insert a new keyframe it takes the sound out of that frame. With the ActionScript method I previously had been toning the volume down slowly so imitate a fade but I can’t do that here…

Thanks for all your help, btw.

---

<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:** [March 29, 2003, 7:43pm UTC](https://forum.kirupa.com/t/percentage-preloader-problem/16889/6 "2003-03-29T19:43:27Z")

</div>

> _Originally posted by SteveKrutzler_  
> **… or the attach ActionScript function I was working with before that interferred with the preloader?**

yes.

just put the sound like i told you in a frame before the script 😉

---

<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:** [March 29, 2003, 7:51pm UTC](https://forum.kirupa.com/t/percentage-preloader-problem/16889/7 "2003-03-29T19:51:50Z")

</div>

Oh splendid, that did the trick. I had thought about that. Basically using dual-method. Both putting it in a frame to make the preloader work, but using ActionScript to make volume control possible. Bravo!

You must be some major Flash guru, huh? (can you tell this is the first time I’ve posted here) hehe

I’m just getting into Flash on an intermediate basis. Taking a graduate course in it this semester. Thanks for the tips!

---

<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:** [March 29, 2003, 7:58pm UTC](https://forum.kirupa.com/t/percentage-preloader-problem/16889/8 "2003-03-29T19:58:54Z")

</div>

> _Originally posted by SteveKrutzler_  
> **You must be some major Flash guru, huh? (can you tell this is the first time I’ve posted here) hehe**

😛 no, i’m not. but when you’re working with flash almost all day… you tend to learn a few things 😉

and you’re welcome =)
