# Preloader issues

**URL:** <https://forum.kirupa.com/t/preloader-issues/217642>\
**Category:** Uncategorized\
**Created:** [February 28, 2007, 4:52pm UTC](https://forum.kirupa.com/t/preloader-issues/217642 "2007-02-28T16:52:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navarone](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Post date:** [February 28, 2007, 4:52pm UTC](https://forum.kirupa.com/t/preloader-issues/217642/1 "2007-02-28T16:52:42Z")

</div>

I am using this code for my preloader. It is located in the first frame of my flash file. I don’t see any progress bar display until about 90%. There are several movieClips in my flash file that are linked, do these have a bearing on the progress bar showing up?

```auto

total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded (50) {
 gotoAndPlay(5);
}

```
