G-L > LoadVars.getBytesTotal

 

LoadVars.getBytesTotal

Availability

Flash Player 6.

Usage

myLoadVars.getBytesTotal()

Parameters

None.

Returns

An integer.

Description

Method; returns the number of total bytes that are downloaded by a load or sendAndLoad operation. The getBytesTotal method returns undefined if no load operation is in progress or if a load operation has not yet initiated. The getBytesTotal 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.