<div class='quotetop'>QUOTE(Shurai &#064; Apr 22 2006, 11&#58;36 PM) [snapback]166533[/snapback]</div>
forlfrof all you needed to do was tell me what those two objects do :P The only reason I replied was that actionscript syntax looks similar to other languages I&#39;ve dealt with.
&#33;= is not equals in normal coding conventions.
The fact that the &#39;int&#39; is there specifies that there isn&#39;t a decimal point.
12.3 loaded bytes/100 total bytes = 0.123*100 = 12.3% = int(12.3) = 12

I think I figured it out...
There is definitely a problem with this part:

Code:
bar.gotoAndStop&#40;percent_done&#41;;** //go to current percentage, innocent enough..

if &#40;loaded_bytes == total_bytes&#41; {****//will never get taken since the current never reaches total
****gotoAndStop&#40;2&#41;;

} else {************************** //will always be taken
****gotoAndPlay&#40;1&#41;;********//jump back to first frame?&#33;?&#33;??&#33; This is a very disgusting way of &#34;looping?&#34; and doesn&#39;t work.
}
Can you even do loops in Flash since there are frames?? I dunno. Making 100 frames is a waste of time. You can scale the progress bar size you know.

Try this bit:
Code:
if&#40;percent_done &#33;= total_percent&#41;{**************** //total_percent = 100;
********setProperty&#40;bar,**_xscale**, percent_done&#41; 
}

else{
********goAndStop&#40;2&#41;;
Give it a shot. You&#39;ll have to play around with it muah.
[/b]
it didnt work....... it was weired.. the load bar disappeared lol.