# Preloader issues

**URL:** https://forum.kirupa.com/t/preloader-issues/22765
**Category:** flash
**Created:** [June 8, 2003, 9:45am UTC](https://forum.kirupa.com/t/preloader-issues/22765 "2003-06-08T09:45:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![houston97](https://avatars.discourse-cdn.com/v4/letter/h/71c47a/32.png) [@houston97](https://forum.kirupa.com/u/houston97)
#### Post date: [June 8, 2003, 9:45am UTC](https://forum.kirupa.com/t/preloader-issues/22765/1 "2003-06-08T09:45:05Z")

</div>

ok having trouble in test mode which of course will carry on to the site if I post it this way. I built my preloader and it works but then the movie starts to play and then stops waiting for more to load. This would ot be a problem except that everything is down to the beat and rythm of the music any suggestions.  
here is the code for the preloader.  
totalBytes = this.getBytesTotal();  
loadedBytes = this.getBytesLoaded();  
remainingBytes = totalBytes - loadedBytes  
percentDone = int((loadedBytes/totalBytes)\*100);  
bar.gotoAndStop(percentDone);  
if (\_framesloaded = \_totalframes) {  
gotoAndPlay(3);  
}  
By the way this is a LARGE movie over 800 frames and 18 layers/

---

<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: [June 8, 2003, 9:49am UTC](https://forum.kirupa.com/t/preloader-issues/22765/2 "2003-06-08T09:49:38Z")

</div>

What are you trying to say ? That the movie plays laggy ? I don’t get the problem. Please explain in detail …

---

<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: [June 8, 2003, 9:51am UTC](https://forum.kirupa.com/t/preloader-issues/22765/3 "2003-06-08T09:51:50Z")

</div>

I guess that is what I am trying to say. The movie and music run smoothly until mid way through the the music stops and freezes on a frame to load the rest of the movie. Granted when it finishes loading the rest and runs it all runs smoothly again. I want to know if there is anything I can do to get rid of the freeze frame thing or not.
