Custom preloader help

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;
}
};