A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Problem with getBytesTotal() command.

  1. #1
    Junior Member
    Join Date
    Sep 2001
    Posts
    7

    Exclamation

    My preloader keeps saying that the total number of KB for my movie (getBytesTotal()) is more than 600 even though my swf-file is 225 KB (including the movie-clip for the
    sounds, that is 298 KB).
    Even though it says 600 KBs, it seems it only loads those 298 KBs (i reckon that on the time it takes to load), but it counts all the way up to those 600.

    Does anybody have a sollution or explanation to this?

    See for yourself on http://baboo.dk/flash/


  2. #2
    Senior Member
    Join Date
    Mar 2002
    Posts
    298
    getBytesTotal() returns the number of bytes in a movie, not the number of kilobytes.
    Go when it's returning 600 that's 0.6KB

  3. #3
    Junior Member
    Join Date
    Sep 2001
    Posts
    7
    Originally posted by C4_Tom
    getBytesTotal() returns the number of bytes in a movie, not the number of kilobytes.
    Go when it's returning 600 that's 0.6KB
    I know, but take a look at the link. It says 630.000 Bytes. I then divide it with 1000, that's 630 KB.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center