# Pre-loader (totalK=getBytes) bug report

**URL:** <https://forum.kirupa.com/t/pre-loader-totalk-getbytes-bug-report/7189>\
**Category:** Uncategorized\
**Created:** [October 25, 2002, 6:51am UTC](https://forum.kirupa.com/t/pre-loader-totalk-getbytes-bug-report/7189 "2002-10-25T06:51:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![multimediamkt](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@multimediamkt](https://forum.kirupa.com/u/multimediamkt)\
**Post date:** [October 25, 2002, 6:51am UTC](https://forum.kirupa.com/t/pre-loader-totalk-getbytes-bug-report/7189/1 "2002-10-25T06:51:40Z")

</div>

…Pre Loader …  
totalK=getBytesTotal()/1000;  
loadedK=getBytesLoaded()/1000;  
remainingK=totalK-loadedK;  
percentageK=(loadedK/totalK)\*100;  
setProperty ( “bar” , \_xscale , percentageK);  
if (loadedK \>= totalK && totalk != 0) {  
gotoAndPlay(3);  
}  
…

I think the code above is familiar for most of you.  
It works fine but in some occasions the load of the file  
halts ;

It is useless to refresh the browser instance or to close it ;  
open up a new window as well : the bar will remain  
exactly where it stopped , will not progress ;

The only way to get the load of the file is to go to  
the “C:\WINDOWS\Temporary Internet Files” folder  
and delete the partially loaded file ; after doing that it will  
load ;

I noted that it occurs in peak times when the bandwith is narrow ;  
it has already happened with dial up , adsl , and radio  
connection (the last one in a saturday evening ) ;

Has someone experienced the same or has a good idea  
on how to improve it ?

Regards

M M K T

---

<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:** [October 25, 2002, 7:33am UTC](https://forum.kirupa.com/t/pre-loader-totalk-getbytes-bug-report/7189/2 "2002-10-25T07:33:27Z")

</div>

never had that problem. I will however look into it as well. If I can find any information on the problem I’ll be sure to pass it along.

---

<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:** [October 25, 2002, 7:53am UTC](https://forum.kirupa.com/t/pre-loader-totalk-getbytes-bug-report/7189/3 "2002-10-25T07:53:55Z")

</div>

Hi once againg Woopecker

Believe me it happens , just before to post it I  
tested as described with different speed conections.  
Try it during peak hours when servers are overloaded.  
I´ve already experienced the problem by hitting the  
browser stop button.  
Cheers  
MMKT

---

<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:** [October 25, 2002, 9:46am UTC](https://forum.kirupa.com/t/pre-loader-totalk-getbytes-bug-report/7189/4 "2002-10-25T09:46:34Z")

</div>

Questions:

A)Have you seen it do this on multiple projects or just one particular swf that you’ve been trying to load?

and

B) have you seen this happen on swf’s that are located on other people’s servers or just the one that you’re working on?

---

<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:** [October 26, 2002, 3:51am UTC](https://forum.kirupa.com/t/pre-loader-totalk-getbytes-bug-report/7189/5 "2002-10-26T03:51:55Z")

</div>

…

Hi David  
Answering your questions :

Reported bug has occurred with 4 different preloaded projects ;

Two of them are stored in a local I P that has showed to be stable in two and half years I have my personal page there.

Third one is a test file on which I noted the problem by the very 1st time but it was stored on a free Tripod server , that may not be considered serious in terms of server stability;

So I uploaded the test file to another paid server - file stored  
in a serious server based somewhere in U S A - and it seemed  
the trouble was on Lycos end , perhaps due to narrow  
bandwith.

But to my dismay sometime ago I could not load that test file what obliged me to delete in the cache folder and after doing  
so finally I got to load it.  
4th time was a customer complaint who described me the failure

- loading bar freezes and does not load if F5 pressed - customer  
has ADSL conection ;  
Failure has occurred as well on computer connect by means a radio conection (on a saturday night ) ;

I´ve been testing the files many times , deleting from the cache  
and reloding them systematically but I could not get the failure.

That´s all .  
Thank you very much for your interest on matter
