Percentage Preloader problem

So I worked through this tutorial at

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! :slight_smile:

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 :wink: =)

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?

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 :wink:

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.

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 :wink:

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!

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

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

and you’re welcome =)