# .swf size and preloader size are different

**URL:** <https://forum.kirupa.com/t/swf-size-and-preloader-size-are-different/109097>\
**Category:** Uncategorized\
**Created:** [May 2, 2004, 1:28am UTC](https://forum.kirupa.com/t/swf-size-and-preloader-size-are-different/109097 "2004-05-02T01:28:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vman](https://avatars.discourse-cdn.com/v4/letter/v/5e9695/32.png) [@vman](https://forum.kirupa.com/u/vman)\
**Post date:** [May 2, 2004, 1:28am UTC](https://forum.kirupa.com/t/swf-size-and-preloader-size-are-different/109097/1 "2004-05-02T01:28:32Z")

</div>

Ummm…I can’t seem to figure out why the preloader in my movie is telling me that the size of the movie is almost 200Kb larger than it actually is. The preloader says 558Kb and it is actually only 364Kb. Anyone have any thoughts on this? Here’s the code for the preloader.

//frame 2  
loadedbytes=getBytesLoaded();  
totalbytes=getBytesTotal();  
loadedkbytes=Math.ceil (loadedbytes/1024);  
totalkbytes=Math.ceil(totalbytes/1024);  
if (loadedbytes == totalbytes) {  
gotoAndPlay (4);  
}  
frame = int(loadedbytes/(totalbytes/100));  
tellTarget (\_root.loader) {  
gotoAndStop (\_root.frame);  
}  
//frame 3  
gotoAndPlay(1);

![](http://www.thezplane.com/profile.jpg)

Here’s a shot of the bandwidth profiler. If the size of the movie is 363Kb, shouldn’t Loaded: be 363Kb as well? I don’t get it.
