# Easy preload update

**URL:** <https://forum.kirupa.com/t/easy-preload-update/257026>\
**Category:** flash\
**Created:** [April 9, 2008, 4:40pm UTC](https://forum.kirupa.com/t/easy-preload-update/257026 "2008-04-09T16:40:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Covertbox](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@Covertbox](https://forum.kirupa.com/u/Covertbox)\
**Post date:** [April 9, 2008, 4:40pm UTC](https://forum.kirupa.com/t/easy-preload-update/257026/1 "2008-04-09T16:40:13Z")

</div>

Hi there, I was wondering if anyone knew an easy way for me to improve my preloaders, right now they’re quite jumpy, I don’t really know enough about flash to make it smooth without starting all over again with another technique, and I have absolutely tons of videos on the site which will require updating.

Here’s my script:

bytes\_loaded = Math.round(this.getBytesLoaded());  
bytes\_total = Math.round(this.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
this.loadBar.\_width = getPercent_196.1;  
this.loadText = Math.round(getPercent_100)+"%";  
if (bytes\_loaded == bytes\_total) {  
this.gotoAndPlay(3);  
}

Any help would be amazing, ideally I like to just drop in some replacement script.
