Just made this very quickly
http://www.gifsrus.com/testfile/basicpreloader.swf
heres the code i used
stop();
bar._width = 0;
assessLoad = function (clip) {
var kbLoaded = Math.floor(clip.getBytesLoaded()/1024);
var kbTotal = Math.floor(clip.getBytesTotal()/1024);
percent = kbLoaded/kbTotal;
bar._xscale = percent100;
percent_txt.text = Math.floor(percent100)+“%”;
if ((kbLoaded == kbTotal) && kbTotal>1) {
clip.gotoAndStop(2);
clearInterval(myInterval);
}
};
spider.onEnterFrame = function() {
this._x = bar._x+bar._width;
ladybird._x = this._x+50;
};
myInterval = setInterval(assessload, 50, this);
I just hope your spider is a little better than mine.