May 2001
Intermediate to advanced
720 pages
23h 24m
English
MovieClip.getBytesTotal( ) Method — check the size of a clip or movie, in bytes
Flash 5
mc.getBytesTotal( )
An integer representing the size of mc, in
bytes. Divide by 1024 to convert to kilobytes.
The getBytesTotal( ) method tells us the size,
in bytes, of a clip instance or the main movie. When invoked on the
main movie, getBytesTotal( ) reports the size of
the entire .swf. It is normally used in concert
with getBytesLoaded( ) to produce preloaders for
main movies and .swf files loaded into instances
or levels.
MovieClip.getBytesLoaded( ),
MovieClip
._totalframes
Read now
Unlock full access