# Custom preloader help

**URL:** <https://forum.kirupa.com/t/custom-preloader-help/265379>\
**Category:** Uncategorized\
**Created:** [July 8, 2008, 9:06am UTC](https://forum.kirupa.com/t/custom-preloader-help/265379 "2008-07-08T09:06:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluecarnumber9](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bluecarnumber9](https://forum.kirupa.com/u/bluecarnumber9)\
**Post date:** [July 8, 2008, 9:06am UTC](https://forum.kirupa.com/t/custom-preloader-help/265379/1 "2008-07-08T09:06:29Z")

</div>

Hi everyone,

I’m trying to make a custom fill preloader and was able to get a rough draft working using an online tutorial but it fills from left to right but I need it to follow the path of the logo (so from bottom to top and then left to right). Any help or other tutorial links would be great.

stop();  
mask\_mc.\_height = 1;  
this.onEnterFrame = function():Void {  
var loadedData:Number = this.getBytesLoaded();  
var allData:Number = this.getBytesTotal();  
var percent:Number = Math.round(loadedData/allData\*100);  
mask\_mc.\_yscale = percent;  
if (loadedData \>= allData) {  
gotoAndStop(2);  
delete this.onEnterFrame;  
}  
};
