Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying Bytes Loaded 1

Status
Not open for further replies.

nyne69ball

Technical User
Feb 26, 2001
52
US
Wondering if anyone knows how to code for displaying the number of Bytes loaded out of the total. Not a percentage and not frames loaded, though. Im looking for the actual bytes count instead.

thanks

The FlashGuy :)
 
I've just posted an FAQ ;-)

dave dave@davdesign.co.uk

^^^^^^^^^^^^^^^^
 
Thanks for the redirect dave.... worked out perfect... Im just having trouble truncating numbers to 2 decimal places I had to modify your original format a bit :) I know a long way to do it... I just thought there may be a function. The FlashGuy :)
 
not that i know of i'm afraid but if you come across one in your travels give me a shout.

dave dave@davdesign.co.uk

^^^^^^^^^^^^^^^^
 
or you could just remove the floor function and tweak the size of the dynamic text box until it's only big enough to display to 2dp. Sneaky, but it might do the job without the hassle.
dave dave@davdesign.co.uk

^^^^^^^^^^^^^^^^
 
all you have to do is multiply by 100, use Math.Round, then divide by 100 again voila Truncated to 2 places :) The FlashGuy :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top