//animate progress bar, from 0 to target value:
while(level_fact<1){
pbar.s_graph_r.scale_x=integer(pbar.value*level_fact); //---->>> increase the scale of the repeating bmap piece of pixel width =1 to scale the needed target
pbar.s_graph_cr.pos_x=pbar.s_graph_cl.pos_x+7 //after the start cap piece of 6 pixels plus 1, so its next seamless
+ ( pbar.s_graph_r.scale_x)/2 //DONT KNOW WHY IT NEEDS TO BE /2 or /0.5 ?? but wihout this.. it wont work correct?
; pbar.s_graph_cr.pos_y=pbar.s_graph_cl.pos_y;
level_fact+=0.1;
wait(10 ); //somewhat slow...
}