User Guide
LoadVars class 93
LoadVars.getBytesTotal()
Availability
Flash Media Server 2.
Usage
myLoadVars.getBytesTotal()
Parameters
None.
Returns
A Number object.
The
getBytesTotal() method returns undefined if no load operation is in progress or if a
load operation has not been 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.
Description
Method; returns the total number of bytes loaded into an object during all LoadVars.load()
or
LoadVars.sendAndLoad()method calls. Each time a call to load() or sendAndLoad() is
issued, the
getBytesLoaded() method resets, but the getBytesTotal() method continues
to grow.
The value of the
contentType property does not affect the value of getBytesLoaded().
See also
LoadVars.getBytesLoaded()
LoadVars.load()
Availability
Flash Media Server 2.
Usage
myLoadVars.load(url)
Parameters
url A string indicating the URL from which to download variables.