Preloaders! I can't seem to find one that will do what I need

I need a preloader that will load multiple jpg’s/swf’s but use only one bar or percent meter. (I.E get the total file size of all the images you want to load, then show the percent or loadbar length equivilent to the total percent loaded. I found a preloader that can load multiple files, but it counts up to 100% for each file so there is no way to know how far along in the total loading you are. Can anyone direct me in making a preloader that will do what I need, or maybe there is a component that will do this. Thanks!