# Combobox + Preloader Component = headache

**URL:** <https://forum.kirupa.com/t/combobox-preloader-component-headache/64695>\
**Category:** flash\
**Created:** [September 18, 2004, 11:53pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695 "2004-09-18T23:53:52Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [September 18, 2004, 11:53pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/1 "2004-09-18T23:53:52Z")

</div>

This is rather annoying, hopefully someone knows why.

I create a form that has a bunch of checkbox and combobox components. It all works perfect, and I was really happy with it until this point.

I added a preloader using the preloader component. The preloader works great, here’s the problem.

The combobox’s don’t work anymore, meaning they don’t drop down. Of course this is a huge problem. What’s odd is that the checkbox’s still work.

You can see for yourself here  
[http://www.digitalosophy.com/beta/pricequote/](http://www.digitalosophy.com/beta/pricequote/)

Now I really have no clue what’s causing this, and oddly enough I can’t find anything on this matter anywhere.

My preloader is a .swf file in itsself. It loads quote.swf - Can this be it?

Thanks

---

<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:** [September 19, 2004, 11:49pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/2 "2004-09-19T23:49:00Z")

</div>

bump

---

<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:** [September 20, 2004, 4:02pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/3 "2004-09-20T16:02:42Z")

</div>

obviously you have the components in your quote.swf’s library… did you possibly try putting it in your loader.swf’s library as well?

---

<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:** [September 20, 2004, 5:10pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/4 "2004-09-20T17:10:18Z")

</div>

> [@jiggavo](#):
>
> obviously you have the components in your quote.swf’s library… did you possibly try putting it in your loader.swf’s library as well?

Thanks for the response. Do you mean put the component’s in my loader.swf’s library? Why would I do that?

Not trying to be sarcastic, I just don’t understand why that would make the difference 🙂

Do you know if I can use the preloader component to load the same swf it is in?

Personally I don’t think you can, as I’ve tryed numerous ways of doing this.

Thanks

---

<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:** [September 20, 2004, 6:30pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/5 "2004-09-20T18:30:57Z")

</div>

all works for me (2:30) EST

---

<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:** [September 20, 2004, 6:34pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/6 "2004-09-20T18:34:33Z")

</div>

yea i took the preloader out so i can code the php 🙂

the swf is only 69 kb, so i’m thinking of forgetting the preloader all together unless i can find a 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:** [September 20, 2004, 8:36pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/7 "2004-09-20T20:36:03Z")

</div>

> [@Digitalosophy](#):
>
> Thanks for the response. Do you mean put the component’s in my loader.swf’s library? Why would I do that?
> 
> Not trying to be sarcastic, I just don’t understand why that would make the difference 🙂
> 
> Do you know if I can use the preloader component to load the same swf it is in?
> 
> Personally I don’t think you can, as I’ve tryed numerous ways of doing this.
> 
> Thanks

if i’m understanding you correctly, you have loader.swf load quote.swf, right? Well, you’ll need to have those components in your loader.swf when you publish it or else loader.swf won’t know what to do with the dropbox EVEN though it exists in quote.swf’s library. Did that make sense? So all you’ll need to do is open up your loader.fla and drag your dropbox component onto your stage and then delete it. This will have it in the library and then just publish it and it should be “dropbox ready”.

p.s. from the looks of your dropbox i’m assuming you are using mx2004. If i’m correct, this is the only idiotic thing about mx2004. Not sure if previous versions required this approach or not.

---

<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:** [September 20, 2004, 8:48pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/8 "2004-09-20T20:48:50Z")

</div>

umm i cannot believe that worked :lol:

thanks so much 🙂

still doesn’t make much sence to me, it does, but it doesn’t lol

thanks again

---

<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:** [September 20, 2004, 10:40pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/9 "2004-09-20T22:40:19Z")

</div>

glad i could help. :hugegrin:

---

<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:** [September 20, 2004, 10:43pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/10 "2004-09-20T22:43:09Z")

</div>

> [@jiggavo](#):
>
> glad i could help. :hugegrin:

you did indeed. i posted this is 3 forums and couldnt get a reply 🙂

with your ok, i may write a small article explaining this  
:kommie:

---

<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:** [September 21, 2004, 4:15am UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/11 "2004-09-21T04:15:27Z")

</div>

by all means… we’re all here to help out eachother.

---

<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:** [September 21, 2004, 9:28pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/12 "2004-09-21T21:28:08Z")

</div>

[QUOTE=jiggavo]if i’m understanding you correctly, you have loader.swf load quote.swf, right?..[QUOTE]

well, I’m with the same problem, but I’m not loading between swf’s, just from a scene to another, but it’s not working, how I can load a swf file from another swf?

thanks

---

<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:** [September 21, 2004, 9:32pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/13 "2004-09-21T21:32:45Z")

</div>

```auto

// create event listener object for the loader
myLoaderListener = new Object(); 
// click event handler
myLoaderListener.complete = function ( eventObject )
{
    myProgressBar._visible = false;
}
           
// register the event listener
myLoader.addEventListener("complete", myLoaderListener);

```

then of course on your loader component properties define the file.swf in the content path option.

---

<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:** [September 21, 2004, 9:49pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/14 "2004-09-21T21:49:43Z")

</div>

> [@Digitalosophy](#):
>
> ```auto
> 
> // create event listener object for the loader
> myLoaderListener = new Object(); 
> // click event handler
> myLoaderListener.complete = function ( eventObject )
> {
> myProgressBar._visible = false;
> }
>  
> // register the event listener
> myLoader.addEventListener("complete", myLoaderListener);
> 
> ```
> 
> then of course on your loader component properties define the file.swf in the content path option.

well, I don’t know what I’m doing wrong, this is my file, hope you can check ( if you’ve the time of course )

The files:

[http://webstudio.co.nr/preloader.fla](http://webstudio.co.nr/preloader.fla)

[http://webstudio.co.nr/maletas.fla](http://webstudio.co.nr/maletas.fla)

really thanks!

---

<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:** [September 21, 2004, 10:31pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/15 "2004-09-21T22:31:41Z")

</div>

Fixed

[http://www.digitalosophy.com/Kirupa\_Files/Flash/Preloader/](http://www.digitalosophy.com/Kirupa_Files/Flash/Preloader/)

For one, you didn’t have a loader component on the stage, you only had the progress bar.

Also your code I think was in an onClipEvent handler, which servers no purpose really.

O a big one you had was you were using the word “progress” as an instance name/

progress is a reserved word in flash, so by using it as an instance name and then calling actions to that name, your basically playing with Flash’s emotions :lol:

Hope that helps

---

<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:** [September 21, 2004, 10:58pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/16 "2004-09-21T22:58:40Z")

</div>

hey man, really thanks, it’s working now, the only problem is I’m testing this with a download simulation of 56 kbps, but I don’t see the progress bar loading, I mean, it’s just there, but not ‘moving’, why this happens?

anyway, really thanks man!!!

---

<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:** [September 21, 2004, 11:07pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/17 "2004-09-21T23:07:05Z")

</div>

> [@arturo](#):
>
> hey man, really thanks, it’s working now, the only problem is I’m testing this with a download simulation of 56 kbps, but I don’t see the progress bar loading, I mean, it’s just there, but not ‘moving’, why this happens?
> 
> anyway, really thanks man!!!

It won’t work like that don’t worry 🙂

Upload it to the web and you’ll see it working.

---

<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:** [September 21, 2004, 11:17pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/18 "2004-09-21T23:17:22Z")

</div>

hi there, hehe, the name of this topic it’s true…

well I uploaded the files, please take a look

[http://webstudio.co.nr/test/preloader.swf](http://webstudio.co.nr/test/preloader.swf)

thanks

---

<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:** [September 21, 2004, 11:29pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/19 "2004-09-21T23:29:49Z")

</div>

lol crap, im on my way out, ill fix it tonight for ya.

---

<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:** [September 21, 2004, 11:45pm UTC](https://forum.kirupa.com/t/combobox-preloader-component-headache/64695/20 "2004-09-21T23:45:49Z")

</div>

> [@Digitalosophy](#):
>
> lol crap, im on my way out, ill fix it tonight for ya.

thanks dude, I’m doing the same here

THX!!
