# Preloader never gets to 100%

**URL:** <https://forum.kirupa.com/t/preloader-never-gets-to-100/46691>\
**Category:** flash\
**Created:** [March 26, 2004, 10:16pm UTC](https://forum.kirupa.com/t/preloader-never-gets-to-100/46691 "2004-03-26T22:16:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MArll](https://avatars.discourse-cdn.com/v4/letter/m/4da419/32.png) [@MArll](https://forum.kirupa.com/u/MArll)\
**Post date:** [March 26, 2004, 10:16pm UTC](https://forum.kirupa.com/t/preloader-never-gets-to-100/46691/1 "2004-03-26T22:16:37Z")

</div>

This is my other problem today…

when i preload a movie, [at the beginning especially], i want the user to see the fact that it is 100% loaded, not like it is at the moment where the \*\*\*\* thing goes straight to the starting frame when it gets to 87% or so…  
Here is the code I am using , pretty straightforward loading:

onClipEvent (enterFrame) {  
loading = \_parent.getBytesLoaded();  
total = \_parent.getBytesTotal();  
percent -= (percent-((loading/total)_101))_.25;  
per = int(percent);  
percentage = per+"%";  
loadBar.\_width = per\*.22;  
if (percent\>100) {  
\_parent.gotoAndStop(2);  
}  
}

thanks for help and advice,

marll
