428 Chapter 12: ActionScript Dictionary
LoadVars.getBytesLoaded()
Availability
Flash Player 6.
Usage
my_lv.getBytesLoaded()
Parameters
None.
Returns
An integer.
Description
Method; returns the number of bytes downloaded by LoadVars.load() or
LoadVars.sendAndLoad(). This method returns undefined if no load operation is in progress,
or if a load operation has not yet begun.
LoadVars.getBytesTotal()
Availability
Flash Player 6.
Usage
my_lv.getBytesTotal()
Parameters
None.
Returns
An integer.
Description
Method; returns the total number of bytes downloaded by LoadVars.load() or
LoadVars.sendAndLoad(). This method returns undefined if no load operation is in progress
or if a load operation has not yet begun. This method also returns
undefined if the number of
total bytes can’t be determined; for example, if the download was initiated but the server did not
transmit an HTTP content-length.