# Kirupa's preloader won't show up!

**URL:** <https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094>\
**Category:** flash\
**Created:** [February 21, 2003, 8:59pm UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094 "2003-02-21T20:59:12Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyrus](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/cyrus/32/169_2.png) [@Cyrus](https://forum.kirupa.com/u/Cyrus)\
**Post date:** [February 21, 2003, 8:59pm UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/1 "2003-02-21T20:59:12Z")

</div>

Hi everyone,

My first post. What a nice Web ressource BTW. Excellent site.

Now here is my problem. I am trying to build a decent preloader for a very simple Flash movie: A Charles Mingus Image that fades in, and at the end some buttons appear to give you the choice to hear an exerpt of his music.

My preloader won’t show up! It shows up for just a second toward the end when the movie is almost fully loaded. I followed [this tutorial.](http://www.kirupa.com/developer/mx/preloader.htm)

Can someone debug this, I just do not understand? Thanks very much for you help.

Dowload the .fla file here (0.9 MB):  
[mingus.fla](http://www.baudesign.ca/temp/mingus.fla)

You can have a preview of the final .swf on my Website: [Baudesign.ca](http://www.baudesign.ca)

---

<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:** [February 21, 2003, 9:08pm UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/2 "2003-02-21T21:08:06Z")

</div>

when i tried to run the movie in flash mx it prompted for a password…

:love:

~S.Blaze

---

<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:** [February 21, 2003, 9:25pm UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/3 "2003-02-21T21:25:08Z")

</div>

> \*Originally posted by Seretha Blaze \*  
> \*\*when i tried to run the movie in flash mx it prompted for a password…

Heu! my .SWF is password protected from import, if I remember well. But my .fla (link above) is not protected, not that I am aware of.

---

<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:** [February 21, 2003, 10:23pm UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/4 "2003-02-21T22:23:02Z")

</div>

Well, without even looking at the thing, I’m guessing that you have your preloader as part of your main .fla (which will become your main .swf). So, with that said, I’m also guessing you’ve got 1+ clips that are set to “Export for ActionScript” which means you’ve got “Export in first frame” selected in “linkage…”, too. Anyway, check this thread out: [http://www.kirupaforum.com/showthread.php?s=&threadid=15139](http://www.kirupaforum.com/showthread.php?s=&threadid=15139)

Later,  
–Elios

---

<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:** [February 21, 2003, 10:51pm UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/5 "2003-02-21T22:51:03Z")

</div>

Thanks Elios,

OMG, i am in for a couple of nights of learning here! There must be some way to make a _simple_ preloader for my little project, esp. that most of the file content is the audio track. If the image could appear just as the audio would be, say, 70% downloaded. Pffff!

All suggestions are welcomed. In the meantime, Elios, I will read your post carefully and try to understand what is under the hood. If you, or someone else, have the chance to open and tweak my .fla file, I will send some of my wife’s fine cookies for sure. :trout:

Thanks.

(And I am doing all this for those 56k users out there! Gezzzz…)

---

<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:** [February 22, 2003, 12:24am UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/6 "2003-02-22T00:24:32Z")

</div>

Hummm, I tried, but no, for some reason, like _flashyfreak_ I lost the sound.

I do not understand this “linkage” concept very well. But a movie calling another movies does not appear to be the solution here.

(Going to my kitchen to cook some nice hot cookies. Any takers? :bounce: )

---

<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:** [February 22, 2003, 12:33am UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/7 "2003-02-22T00:33:43Z")

</div>

Ah, it works, and here’s the fla that proves it. Anyway, be sure to put it in the same directory as mingus.swf, and, also, you probably won’t see anything unless you have a dialup connection.

Later,  
–Elios

---

<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:** [February 22, 2003, 12:52am UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/8 "2003-02-22T00:52:40Z")

</div>

Sorry, I do believe you are right; give me a few to figure out what the problem is…hmm…

Later,  
–Elios

---

<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:** [February 22, 2003, 1:05am UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/9 "2003-02-22T01:05:58Z")

</div>

> \*Originally posted by Elios \*  
> \*\*Sorry, I do believe you are right; give me a few to figure out what the problem is…hmm…

\*\*

=) Thanks. Indeed:

[This is the movie (pre\_mingus.swf) calling the other one: no sound.](http://www.baudesign.ca/media/pre_mingus.swf)

[And this is the movie with sound, the same one.](http://www.baudesign.ca/media/mingus.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:** [February 22, 2003, 1:08am UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/10 "2003-02-22T01:08:04Z")

</div>

I know what the problem is: the movie loads into level 1 and not level 0, so level 0 nixes the sound because it has seniority over level 1. Now…to fix it…

Slowly,  
–Elios

---

<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:** [February 22, 2003, 2:29am UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/11 "2003-02-22T02:29:03Z")

</div>

Alright, try changing your…

```php

sound = new Sound();

```

to

```php

sound = new Sound(this);

```

Later,  
–Elios

---

<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:** [February 22, 2003, 4:52am UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/12 "2003-02-22T04:52:01Z")

</div>

Thanks Elios,

It seems that “this” was the answer. 😉

You can see the result [here, on my Web page.](http://www.baudesign.ca)

But unfortunately, the progress bar of the preloader does not work. I tried to tweak, but… there is always a “but” in my life. Oh well…

Now I have two missions: 1. figure out what “this” was all about. 2. complete this preloader.

Until then, for those who want to play around with it, you can download the flash file.

And many thanks again (I wonder how you geeks out there can build an entire Flash Web site. This is insane!)

---

<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:** [February 22, 2003, 2:38pm UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/13 "2003-02-22T14:38:14Z")

</div>

Sorry, dude, I must have been smoking something last night. I forgot to name the loadBar’s instance name loadBar. Sorry…here’s the fix.

Elios,  
–Later

---

<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:** [February 22, 2003, 8:56pm UTC](https://forum.kirupa.com/t/kirupas-preloader-wont-show-up/14094/14 "2003-02-22T20:56:34Z")

</div>

This is too much. Thanks very much and have a very good day.
