MovieClip.getBytesLoaded()
Availability
Flash Player 5.
Usage
my_mc.getBytesLoaded()
Parameters
None.
Returns
An integer indicating the number of bytes loaded.
Description
Method; returns the number of bytes that have already loaded (streamed) for the movie clip
specified by
my_mc
MovieClip.getBytesTotal()
See also
MovieClip.getBytesTotal()
MovieClip.getBytesTotal()
Availability
Flash Player 5.
Usage
my_mc.getBytesTotal()
Parameters
None.
Returns
An integer indicating the total size, in bytes, of
Description
Method; returns the size, in bytes, of the movie clip specified by
external (the root SWF file or a movie clip that is being loaded into a target or a level), the return
value is the size of the SWF file.
See also
MovieClip.getBytesLoaded()
502
Chapter 12: ActionScript Dictionary
. You can compare this value with the value returned by
to determine what percentage of a movie clip has loaded.
.
my_mc
my_mc
. For movie clips that are
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers