Forced Preloader

hey, I wonderd if anyone could help me make a forced preloader? My site is small so the preloader would just show up for one second and then go to the site, but i want it to go from 1 to 100, without going like 20 to 80 then done…

Can anyone help? I’ll be very gratefull. My preloader bar will have a width of 200.

Thanks,
fatnslow

lol
textfield instance name myText
bar instance name bar
first frame
stop();
bar._width = 0;
myfunction = function () {
percent += 1;
bar._width += 2;
myText.text = percent+" % Loaded";
if (percent == 100) {
clearInterval(myInterval);
gotoAndStop(2);
}
};
myInterval = setInterval(myfunction, 100);

you can change 100 to adjust the speed