|
2Min
|
|
(Novice)
|
|
05/07/05 12:04 PM
|
|
|
|
|
|
|
|
Preloader Help
|
|
Hey, awesome preloader tutorial. I've been looking for that kind for a long time. I like the whole thing but I just wanted to know if there is a way to change the number of decimal places on the Kb loaded part. Thanks.
|
|
Jeremy
|
|
(Journeyman)
|
|
05/17/05 07:43 PM
|
|
|
|
|
|
|
|
Re: Preloader Help
|
|
Sure, easy to do! Change this line:
loadBytes = "0 of " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " Kb";
the 1000 used above makes 3 decimal places. Replace the 2 1000's with 100's or 10's to get two or one decimal place, respectively. You get the idea!
|