# Pre loader dosent seem to be working please help

**URL:** <https://forum.kirupa.com/t/pre-loader-dosent-seem-to-be-working-please-help/156396>\
**Category:** flash\
**Created:** [July 25, 2005, 4:22pm UTC](https://forum.kirupa.com/t/pre-loader-dosent-seem-to-be-working-please-help/156396 "2005-07-25T16:22:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shush1](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@shush1](https://forum.kirupa.com/u/shush1)\
**Post date:** [July 25, 2005, 4:22pm UTC](https://forum.kirupa.com/t/pre-loader-dosent-seem-to-be-working-please-help/156396/1 "2005-07-25T16:22:52Z")

</div>

Hi I have a site at

[www.freshlemon.co.uk/ppm/intro.html](http://www.freshlemon.co.uk/ppm/intro.html)

As you can see when page firt appears the pre loader appears, but it doesnt fill the loader bar to 100% and carrys on playing the movie, however when it starts playing, it wownt let me click sip intro as the page is stil loading, can someone please explain how i can get the pe loader to work so the whole movie finishes loading before it plays the intro? the code i have for the pre loader is this: (the code is placed on the preloader mc

onClipEvent (enterFrame) {  
loading = \_parent.getBytesLoaded();  
total = \_parent.getBytesTotal();  
/\* Your loadbar is 103 pixels big, so it will fill up  
103 pixels. _/  
percent -= (percent-((loading/total)93)).25;  
per = int(percent);  
/_ Make the loadbars width match the percent.  
EG. 1% = 1 pixel. \*/  
loadBar.\_width = per;  
// If the percent loading is over 99%.  
if (percent\>99) {  
// Where the movie goes after loading is done.  
gotoAndStop(1);  
}  
}
