EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 502

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
502 Chapter 12: ActionScript Dictionary
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. You can compare this value with the value returned by
MovieClip.getBytesTotal() to determine what percentage of a movie clip has loaded.
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 my_mc.
Description
Method; returns the size, in bytes, of the movie clip specified by my_mc. For movie clips that are
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()

Table of Contents

Related product manuals