MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 577

Actionscript language reference
Table of Contents

Advertisement

MovieClip.getBytesLoaded()
Availability
Flash Player 5.
Usage
my_mc.getBytesLoaded() : Number
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()
You can extend the methods and event handlers of the MovieClip class by creating a subclass.
See also
MovieClip.getBytesTotal()
MovieClip.getBytesTotal()
Availability
Flash Player 5.
Usage
my_mc.getBytesTotal() : Number
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.
You can extend the methods and event handlers of the MovieClip class by creating a subclass.
See also
MovieClip.getBytesLoaded()
. You can compare this value with the value returned by
to determine what percentage of a movie clip has loaded.
.
my_mc
my_mc
MovieClip.getBytesTotal()
. For movie clips that are
577

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents