| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
|
|
#22 (permalink) |
|
Registered User
Join Date: Mar 2008
Posts: 1
|
Hi all, My first post here and I'm not that crash hot with flash. I did notice that in the first example with this flash preloader 'Math.round' is used. I'd image this is where the 'x%' was coming from. flatcat's example looks correct with loadedAmount/totalAmount * 100 Math.round could be used to make a loaded % readable to the user with total = Math.round((bytesLoaded/bytesTotal)*100); Any way hope that helps, even though this reply is 5 years too late |
|
![]() |