first you must get a stopwatch and time how long loading ta-
okay, that would just be stupid.
Even on professional in-game loading bars, you can see that they don't go smoothly! What the easiest solution would be, is to find out in advance how many files you would need to load during the time the loading bar is displayed. After each file is loaded, exec. a function that adds a bit/bar to the loading bar. Call the function anything you like. I'd probably call it JellyMake().
Fingers...tired. No code from me 'til tomorrow.
[img src=http://blanky.pt-web.net/ddd.gif] >::p