View Full Version : bytes=kilaBytes[MX]
newbieMX
April 7th, 2003, 01:10 AM
I know this is a simple question and there's a simple answer involved, but since I dont know much about bytes etc. I was wondering how would I get kilaBytes instead of bytes, I want to use it for preloader, sorry for the trouble :hangover:
lostinbeta
April 7th, 2003, 01:21 AM
getBytesLoaded()/1024
getBytesTotal()/1024
I believe thats it.
kode
April 7th, 2003, 01:22 AM
kbLoaded = this.getBytesLoaded()/1024;
kbTotal = this.getBytesTotal()/1024;
;)
edit. hmmm... interesting. lost beat me :P
lostinbeta
April 7th, 2003, 01:23 AM
Sorry kax :(
kode
April 7th, 2003, 01:26 AM
ehmm... yeah. why!? :P
you answered his question. that's what matters ;)
lostinbeta
April 7th, 2003, 01:29 AM
You confirmed my answer was correct.... there we go :P
newbieMX
April 7th, 2003, 01:34 AM
THNX guys! Really appreciate it ;) And sorry for the trouble again..
lostinbeta
April 7th, 2003, 01:35 AM
It's no trouble.
kode
April 7th, 2003, 01:36 AM
ditto =)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.