# Preload won't start at the beginning

**URL:** <https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183>\
**Category:** Uncategorized\
**Created:** [February 23, 2003, 1:38am UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183 "2003-02-23T01:38:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![apocyber](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@apocyber](https://forum.kirupa.com/u/apocyber)\
**Post date:** [February 23, 2003, 1:38am UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/1 "2003-02-23T01:38:53Z")

</div>

I have the below preloader code. The actual preloader itself, works just fine. I have scene in this order: preload,main,view,viewad.

Here is the problem:

When I ctrl-enter, ctrl-enter to view the movie in 56K stream, I notice that the preloader doesn’t start until roughly 25K into the download. The entire size of the movie is 59K. I thought it may have had something to do with scene order, but I have the preloader scene at the top. The preloader timeline only has “2” frames. What could be going on here? Is this because I created my entire movie then added the preloader when it was all done? An I missing something? Any assistance, would be greatly appreciated.

Cheers,  
Hubert

\<snip\>  
bytes\_loaded = Math.round(\_root.getBytesLoaded());  
bytes\_total = Math.round(\_root.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
\_root.loadBar.\_width = getPercent_100;  
\_root.loadText = Math.round(getPercent_100)+"%";  
trace(bytes\_loaded + “|” + bytes\_total);  
if (bytes\_loaded == bytes\_total) {  
gotoAndStop(“main”, 1);  
}  
\</snip\>

---

<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 23, 2003, 2:01am UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/2 "2003-02-23T02:01:19Z")

</div>

my first guess would be that you’re using components in the movie …

if so … those components must load before everything else in your movie [size=1]the so called frame 0[/size] even before your preloader

also check that you have unselected **export in first frame** in the linkage properties of your movie clips

open your library **F11**. right click over your movie clips and/or buttons and select **linkage…**  
you’ll see the option there 🙂

[size=1]\*\*PS: \*\*run a search in the forums. you’ll find like 1’000’000 threads about this … you might find something useful ;)[/size]

---

<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 23, 2003, 2:08am UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/3 "2003-02-23T02:08:21Z")

</div>

_sigh_

I was searching for a way to “delete” this post. I posted this after searching through about 80 posts, with no success. On my 81st post review, I found the “linkage” answer.

Sorry to waste everyone’s time.

Hubert

---

<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 23, 2003, 2:09am UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/4 "2003-02-23T02:09:35Z")

</div>

lol 😛

no problem =)

---

<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 23, 2003, 2:07pm UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/5 "2003-02-23T14:07:31Z")

</div>

I thought that all was well…until I tried to scroll.

I went into the library, and removed “load in first frame” from EVERY SINGLE library instance…including all of the FLASH UI Components (recursively).

Now, my scrollbars look like this: (attached).

Feedback?

Hubert

---

<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 23, 2003, 2:42pm UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/6 "2003-02-23T14:42:11Z")

</div>

Very interesting. I found out why I couldn’t scroll. I’d deselected “export in first frame” for:

Library -\> Flash UI Components -\> Core Assets - Developer Only -\> FUI Component Class Tree -\> FUIComponent

Library -\> Flash UI Components -\> Core Assets - Developer Only -\> Other Assets -\> FScrollbar Assets -\> [fsb\_DownArrow,fsb\_ScrollThumb,fsb\_UpArrow]

I selected “export in first frame” as it as originally, and the scrollbars worked again. However, now my movie is starting at 29%, same place it started originally.

It’s useless to have a preloader that starts 1/4 into the download. Should I make my own scrollbars? Is there no way around this? Heck, I’d even load the scrollbar component AFTER the movie was already playing if this was possible.

Feedback anyone?

Hubert

---

<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 23, 2003, 8:06pm UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/7 "2003-02-23T20:06:52Z")

</div>

Hey Apoc,

I had the same problem, but unfortunately there is no way around it. Besides, I have tried my website and there is no problem since the preloader actually will load in about 4 or 5 secs with 56k modem, and should be ok with cable. Well, check my site, I used the components and preloader.

[http://www.csufresno.edu/studentorgs/permias/](http://www.csufresno.edu/studentorgs/permias/)

and also find more conversation about the preloader:

[http://www.kirupaforum.com/showthread.php?threadid=15203&highlight=preloader](http://www.kirupaforum.com/showthread.php?threadid=15203&highlight=preloader)

tell me what you think!

---

<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 23, 2003, 8:33pm UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/8 "2003-02-23T20:33:56Z")

</div>

I thank you all for your help. 🙂

Hubert

---

<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:** [April 7, 2003, 11:44am UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/9 "2003-04-07T11:44:41Z")

</div>

hi

sorry i just posted the same question.

There must be a way to use components but not have them load in frame 0. Otherwise compnents are rubbish and we should get macromedia to find a work around.

what a waste of time! Compnents that suck and confuse 56k users.

kd

---

<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:** [April 7, 2003, 12:38pm UTC](https://forum.kirupa.com/t/preload-wont-start-at-the-beginning/14183/10 "2003-04-07T12:38:51Z")

</div>

found a work around in case anyone needs it.

I just make each text section a separate swf with a component attached and then load it in. It does mean more loading throughout the site which sucks. Good for me as i only have one section with scrolling text

Not great, but it sorts out the preloader problems
